-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathsetup.py
116 lines (105 loc) · 2.77 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from setuptools import find_packages, setup
with open("README.md") as readme_file:
readme = readme_file.read()
test_requirements = [
"codecov",
"flake8",
"black",
"pytest",
"pytest-cov",
"pytest-raises",
"quilt3==3.1.5",
"python-dateutil==2.8.0",
]
setup_requirements = [
"pytest-runner",
]
examples_requirements = [
"quilt3==3.1.10",
"python-dateutil==2.8.0",
]
dev_requirements = [
"bumpversion>=0.5.3",
"coverage>=5.0a4",
"flake8>=3.7.7",
"ipython>=7.5.0",
"m2r>=0.2.1",
"pytest>=4.3.0",
"pytest-cov==2.6.1",
"pytest-raises>=0.10",
"pytest-runner>=4.4",
"Sphinx>=2.0.0b1",
"sphinx_rtd_theme>=0.1.2",
"tox>=3.5.2",
"twine>=1.13.0",
"wheel>=0.33.1",
]
interactive_requirements = [
"altair",
"jupyterlab",
"matplotlib",
]
requirements = [
"matplotlib",
"numpy",
"pandas",
"scipy",
"tifffile==0.15.1",
"torch>=1.0",
"tqdm",
"scikit-image>=0.15.0",
"aicsimageio==3.0.7",
]
extra_requirements = {
"test": test_requirements,
"setup": setup_requirements,
"dev": dev_requirements,
"interactive": interactive_requirements,
"examples": examples_requirements,
"all": [
*requirements,
*test_requirements,
*setup_requirements,
*dev_requirements,
*interactive_requirements
]
}
setup(
author="Ounkomol, Chek and Fernandes, Daniel A. and Seshamani, Sharmishtaa and "
"Maleckar, Mary M. and Collman, Forrest and Johnson, Gregory R.",
author_email="[email protected]",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: Free for non-commercial use",
"Natural Language :: English",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
description="A machine learning model for transforming microsocpy images between "
"modalities",
entry_points={
"console_scripts": ["fnet = fnet.cli.main:main"],
},
install_requires=requirements,
license="Allen Institute Software License",
long_description=readme,
long_description_content_type="text/markdown",
include_package_data=True,
keywords="fnet",
name="fnet",
packages=find_packages(exclude=["tests", "*.tests", "*.tests.*"]),
python_requires=">=3.6",
setup_requires=setup_requirements,
test_suite="fnet/tests",
tests_require=test_requirements,
extras_require=extra_requirements,
url="https://github.com/AllenCellModeling/pytorch_fnet",
# Do not edit this string manually, always use bumpversion
# Details in CONTRIBUTING.rst
version="0.2.0",
zip_safe=False,
)