forked from KrishnaswamyLab/scprep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
93 lines (85 loc) · 2.43 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
import os
import sys
from setuptools import setup, find_packages
install_requires = [
"numpy>=1.12.0",
"scipy>=0.18.1",
"scikit-learn>=0.19.1",
"decorator>=4.3.0",
"pandas>=0.25",
"packaging",
]
optional_requires = [
"fcsparser",
"tables",
"h5py",
"anndata",
]
test_requires = [
"nose",
"nose2",
"coverage",
"coveralls",
"parameterized",
"requests",
"packaging",
"mock",
"h5py",
]
doc_requires = [
"sphinx>=2.2,<2.4",
"sphinxcontrib-napoleon",
"ipykernel",
"nbsphinx",
]
if sys.version_info[:2] < (3, 6):
test_requires += ["matplotlib>=3.0,<3.1", "rpy2>=3.0,<3.1"]
doc_requires += ["autodocsumm!=0.2.0"]
else:
test_requires += ["matplotlib>=3.0", "rpy2>=3.0", "black"]
optional_requires += ["anndata2ri>=1.0.6"]
doc_requires += ["autodocsumm"]
version_py = os.path.join(os.path.dirname(__file__), "scprep", "version.py")
version = open(version_py).read().strip().split("=")[-1].replace('"', "").strip()
readme = open("README.rst").read()
setup(
name="scprep",
version=version,
description="scprep",
author="Scott Gigante, Daniel Burkhardt and Jay Stanley, Yale University",
author_email="[email protected]",
packages=find_packages(),
license="GNU General Public License Version 2",
install_requires=install_requires,
python_requires=">=3.5",
extras_require={
"test": test_requires + optional_requires,
"doc": doc_requires,
"optional": optional_requires,
},
test_suite="nose2.collector.collector",
long_description=readme,
url="https://github.com/KrishnaswamyLab/scprep",
download_url="https://github.com/KrishnaswamyLab/scprep/archive/v{}.tar.gz".format(
version
),
keywords=[
"big-data",
"computational-biology",
],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Framework :: Jupyter",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Scientific/Engineering :: Bio-Informatics",
],
)