forked from openproblems-bio/openproblems
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
59 lines (51 loc) · 1.39 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
import os
import sys
from setuptools import setup, find_packages
install_requires = [
"numpy>=1.17.0",
"scikit-learn>=0.19.1",
"anndata",
"scprep",
"scipy",
"scanpy",
"decorator",
"memory-profiler",
]
methods_requires = [
"harmonicalignment @ git+https://github.com/KrishnaswamyLab/harmonic-alignment#subdirectory=python",
"rpy2",
"scIB @ git+https://github.com/theislab/scib@master",
"anndata2ri>=1.0.4",
]
evaluate_requires = ["snakemake"]
test_requires = ["nose2", "parameterized", "black"]
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 + methods_requires,
"doc": doc_requires,
"methods": methods_requires,
"evaluate": evaluate_requires + methods_requires,
},
test_suite="nose2.collector.collector",
long_description=readme,
long_description_content_type="text/markdown",
keywords=[
"computational-biology",
],
)