forked from openproblems-bio/openproblems
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
72 lines (63 loc) · 1.51 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
from setuptools import find_packages
from setuptools import setup
import os
install_requires = [
"numpy>=1.17.0",
"scikit-learn>=0.19.1",
"anndata>=0.7.5",
"scprep>=1.0.10",
"scipy",
"scanpy>=1.6",
"louvain>=0.7",
"decorator",
"memory-profiler",
"colorama>=0.3.9",
"packaging",
"umap-learn>=0.5.1",
]
r_requires = [
"rpy2<3.4.3",
"anndata2ri>=1.0.6",
]
evaluate_requires = ["snakemake", "numpyencoder"]
test_requires = [
"pytest",
"pytest-cov",
"black",
"coverage",
"parameterized>=0.7.4",
]
doc_requires = [
"sphinx>=2.2,<2.4",
"sphinxcontrib-napoleon",
"autodocsumm",
"ipykernel",
"nbsphinx",
]
version_py = os.path.join(os.path.dirname(__file__), "openproblems", "version.py")
version = open(version_py).read().strip().split("=")[-1].replace('"', "").strip()
readme = open("README.md").read()
setup(
name="openproblems",
version=version,
packages=find_packages(),
license="MIT",
install_requires=install_requires,
python_requires=">=3.5",
extras_require={
"test": test_requires + r_requires,
"doc": doc_requires,
"r": r_requires,
"evaluate": evaluate_requires,
},
entry_points={
"console_scripts": ["openproblems-cli=openproblems.api.main:main"],
},
test_suite="nose2.collector.collector",
long_description=readme,
long_description_content_type="text/markdown",
include_package_data=True,
keywords=[
"computational-biology",
],
)