forked from KrishnaswamyLab/TPHATE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (50 loc) · 1.48 KB
/
setup.py
File metadata and controls
56 lines (50 loc) · 1.48 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
import os
import sys
from setuptools import setup, find_packages
install_requires = [
"statsmodels>=0.13.5",
"pytest>=7.2.1",
"numpy>=1.16.0",
"scipy>=1.1.0",
"scikit-learn>=0.24",
"tasklogger>=1.0",
"graphtools>=1.5.3",
"matplotlib>=3.0",
"s_gd2>=1.8.1",
"pygsp",
"Deprecated"]
version_py = os.path.join(os.path.dirname(__file__),"tphate", "version.py")
version = open(version_py).read().strip().split("=")[-1].replace('"', "").strip()
print("Loaded version ",version)
if sys.version_info[:2] < (3, 8):
raise RuntimeError("Python version >=3.8 required.")
readme = open("README.md").read()
setup(
name="tphate",
version=version,
description="tphate",
author="Erica Busch, Krishnaswamy Lab, Yale University",
author_email="erica.busch@yale.edu",
packages=find_packages(),
python_requires=">=3.8",
install_requires=install_requires,
long_description=readme,
long_description_content_type="text/markdown",
url="https://github.com/KrishnaswamyLab/TPHATE",
keywords=[
"visualization",
"big-data",
"dimensionality-reduction",
"embedding",
"manifold-learning",
"computational-biology",
"fmri",
"computational-neuroscience"
],
classifiers=[
"License :: OSI Approved :: GNU General Public License (GPL)",
"Programming Language :: Python :: 3"
],
)
# # get location of setup.py
setup_dir = os.path.dirname(os.path.realpath(__file__))