-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathsetup.py
More file actions
97 lines (86 loc) · 2.75 KB
/
setup.py
File metadata and controls
97 lines (86 loc) · 2.75 KB
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
94
95
96
97
from setuptools import setup
import os
import sys
install_requires = [
"numpy>=1.14.0",
"scipy>=1.1.0",
"pygsp>=0.5.1",
"scikit-learn>=0.20.0",
"future",
"tasklogger>=1.0",
"Deprecated",
]
test_requires = [
"pytest",
"pytest-cov",
"pandas",
"coverage",
"coveralls",
"python-igraph",
"parameterized",
"anndata",
]
if sys.version_info[0] == 3:
test_requires += ["anndata"]
doc_requires = ["sphinx", "sphinxcontrib-napoleon", "sphinxcontrib-bibtex"]
# Optional dependencies for performance acceleration
numba_requires = ["numba>=0.50.0"]
# Convenience extras
fast_requires = numba_requires # For performance acceleration
all_requires = test_requires + doc_requires + numba_requires
if sys.version_info[:2] < (3, 8):
raise RuntimeError("Python version >=3.8 required.")
else:
test_requires += ["black"]
version_py = os.path.join(os.path.dirname(__file__), "graphtools", "version.py")
version = open(version_py).read().strip().split("=")[-1].replace('"', "").strip()
readme = open("README.rst").read()
setup(
name="graphtools",
version=version,
description="graphtools",
author="Scott Gigante, Daniel Burkhardt, and Jay Stanley, Yale University",
author_email="scott.gigante@yale.edu",
maintainer="João Felipe Rocha (Yale University) and Matthew Scicluna (Université de Montréal)",
maintainer_email="joaofelipe.rocha@yale.edu, matthew.scicluna@umontreal.ca",
packages=[
"graphtools",
],
license="GNU General Public License Version 2",
install_requires=install_requires,
extras_require={
"test": test_requires,
"doc": doc_requires,
"numba": numba_requires,
"fast": fast_requires,
"all": all_requires,
},
long_description=readme,
url="https://github.com/KrishnaswamyLab/graphtools",
download_url="https://github.com/KrishnaswamyLab/graphtools/archive/v{}.tar.gz".format(
version
),
keywords=[
"graphs",
"big-data",
"signal processing",
"manifold-learning",
],
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.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Mathematics",
],
)