andreped commited on
Commit
dacb584
1 Parent(s): 846011c

tried fixing dependencies when installing

Browse files
Files changed (2) hide show
  1. livermask/unet3d.py +1 -1
  2. setup.py +6 -1
livermask/unet3d.py CHANGED
@@ -90,4 +90,4 @@ class UNet3D(chainer.Chain):
90
  X = X[1]
91
  X = F.split_axis(X,(edgez,int (X.shape[2]-edgez)),axis=2)
92
  X = X[1]
93
- return X
 
90
  X = X[1]
91
  X = F.split_axis(X,(edgez,int (X.shape[2]-edgez)),axis=2)
92
  X = X[1]
93
+ return X
setup.py CHANGED
@@ -1,5 +1,6 @@
1
  from setuptools import setup, find_packages
2
  from setuptools.command.install import install
 
3
 
4
 
5
  with open("README.md", "r") as f:
@@ -40,7 +41,8 @@ setup(
40
  packages=find_packages(),
41
  entry_points={
42
  'console_scripts': [
43
- 'livermask = livermask.livermask:main'
 
44
  ]
45
  },
46
  install_requires=required,
@@ -54,4 +56,7 @@ setup(
54
  ],
55
  python_requires='>=3.6',
56
  cmdclass={'install': InstallCommand},
 
 
 
57
  )
 
1
  from setuptools import setup, find_packages
2
  from setuptools.command.install import install
3
+ import os
4
 
5
 
6
  with open("README.md", "r") as f:
 
41
  packages=find_packages(),
42
  entry_points={
43
  'console_scripts': [
44
+ 'livermask = livermask.livermask:main',
45
+ 'utils = livermask.utils',
46
  ]
47
  },
48
  install_requires=required,
 
56
  ],
57
  python_requires='>=3.6',
58
  cmdclass={'install': InstallCommand},
59
+ dependency_links=[
60
+ os.path.join(os.getcwd(), 'deps', 'my_package-1.0.0-py3.5.egg')
61
+ ]
62
  )