forked from openproblems-bio/openproblems
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
67 lines (58 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
from setuptools import find_packages
from setuptools import setup
import os
install_requires = [
"numpy>=1.22,<1.24",
"scikit-learn==1.1.*",
"anndata==0.8.*",
"scprep>=1.2.0",
"scipy==1.8.*",
"scanpy>=1.6",
"louvain==0.7.*",
"decorator<5.0", # pinned in #324
"memory-profiler==0.60",
"colorama==0.4.*",
"packaging==21.3",
"umap-learn==0.5.*",
]
r_requires = [
"rpy2<3.5.3",
"anndata2ri==1.1.*",
]
evaluate_requires = ["snakemake==7.8.*"]
process_requires = ["numpyencoder==0.3.*"]
test_requires = [
"pytest==7.1.*",
"pytest-cov==3.0.*",
"black==22.6.0",
"coverage==6.4.*",
"codecov==2.1.*",
"parameterized==0.8.*",
"requests==2.28.*",
]
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.7",
extras_require={
"test": test_requires + r_requires,
"r": r_requires,
"evaluate": evaluate_requires,
"process": process_requires,
},
entry_points={
"console_scripts": ["openproblems-cli=openproblems.api.main:main"],
},
long_description=readme,
long_description_content_type="text/markdown",
include_package_data=True,
keywords=[
"computational-biology",
],
)