-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
90 lines (81 loc) · 2.46 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
#!/usr/bin/env python
"""The setup script."""
from setuptools import setup, find_packages
with open("README.md") as readme_file:
readme = readme_file.read()
# with open("HISTORY.rst") as history_file:
# history = history_file.read()
requirements = [
"torch>=1.6.0",
"numpy",
"astropy>=3.0",
"scikit-image",
"tqdm",
]
extras_require = {
"webapp": ["requests", "Flask>=1.1.0", "Flask-APScheduler>=1.12.0"],
"develop": ["sep", "reproject", "psutil", "requests", "pretty-errors", "tensorboard>=2.4.0", "scikit-learn>=0.24.0", "Flask>=1.1.0", "Flask-APScheduler>=1.12.0"],
}
setup_requirements = [
"pytest-runner",
]
test_requirements = [
"pytest>=3",
"pip",
"bump2version",
"wheel",
"watchdog",
"flake8",
"tox",
"coverage",
"Sphinx",
"twine",
]
setup(
author="Chengyuan Xu, Curtis McCully, Boning Dong, D. Andrew Howell, and Pradeep Sen",
author_email="cxu@ucsb.edu",
python_requires=">=3.7",
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.7",
"Environment :: Console",
"Environment :: Web Environment",
"Environment :: GPU :: NVIDIA CUDA",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Topic :: Scientific/Engineering :: Astronomy",
],
description="Cosmic-CoNN: A Cosmic Ray Detection Deep Learning Framework, Dataset, and Toolkit",
entry_points={
"console_scripts": [
"cosmic-conn=cosmic_conn.inference_cr:CLI_entry_point",
"cosmic_conn=cosmic_conn.inference_cr:CLI_entry_point",
],
},
install_requires=requirements,
extras_require=extras_require,
dependency_links=[
'-f https://download.pytorch.org/whl/torch_stable.html'],
license="GNU General Public License v3",
long_description=readme,
long_description_content_type='text/markdown',
include_package_data=True,
keywords="cosmic_conn",
name="cosmic_conn",
packages=find_packages(include=[
"cosmic_conn",
"cosmic_conn.*",
"cr_pipeline",
"dl_framework",
"evaluate",
"web_app",
]),
setup_requires=setup_requirements,
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/cy-xu/cosmic-conn",
version="0.5.0",
zip_safe=False,
)