-
Notifications
You must be signed in to change notification settings - Fork 26
/
setup.py
61 lines (57 loc) · 1.83 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
"""Setup for wheel distribution. We only use this for colab. For everything else we use conda."""
import os
import setuptools
from setuptools import setup
# requirements when building the wheel via pip; conda install uses
# info in meta.yaml instead; we're supporting multiple environments, thus
# we have to accept some duplication (or near-duplication), unfortunately;
# however, if conda sees the requirements here, it will be unhappy
if "CONDA_BUILD" in os.environ:
# conda requirements set in meta.yaml
requirements = []
else:
# pip needs requirements here; keep in sync with meta.yaml!
requirements = [
"numpy",
# HACK: We omit torch version to be as flexible to the version
# as we can so that slight changes on colab do not break so fast
# that's why we deviate from enviornment.yaml
"torch",
"click",
"deprecated",
"gitpython>=3.1",
"h5py",
"importlib_resources",
"matplotlib",
"pandas",
"pytest",
"pyyaml",
"requests",
"scipy",
"seaborn==0.10",
"scikit-image",
"scikit-learn",
"tensorboard",
"tifffile",
"tqdm",
]
setup(
name='decode',
version='0.10.1dev1', # do not modify by hand set and sync with bumpversion
packages=setuptools.find_packages(),
include_package_data=True,
install_requires=requirements,
entry_points={
'console_scripts': [
'decode.train = decode.neuralfitter.train.train:main',
'decode.fit = decode.neuralfitter.inference.infer:main',
'decode.infer = decode.neuralfitter.inference.infer:main',
],
},
zip_safe=False,
url='https://rieslab.de',
license='GPL3',
author='Lucas-Raphael Mueller',
author_email='',
description=''
)