-
Notifications
You must be signed in to change notification settings - Fork 85
/
setup.py
73 lines (68 loc) · 2.47 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
73
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
about = {}
# It's also a good practice to specify encoding here, though it may not be necessary if _version.py contains only ASCII characters
with open("pathml/_version.py", "r", encoding="utf-8") as f:
exec(f.read(), about)
version = about["__version__"]
dependency_links = ["https://download.pytorch.org/whl/cu116"]
setuptools.setup(
name="pathml",
version=version,
author="Jacob Rosenthal, Ryan Carelli et al.",
author_email="[email protected]",
description="Tools for computational pathology",
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
project_urls={
"Documentation": "https://pathml.readthedocs.io/en/stable",
"Source Code": "https://github.com/Dana-Farber-AIOS/pathml",
},
dependency_links=dependency_links,
install_requires=[
"numpy==1.23.5",
"pandas<=2.1.4",
"scipy<=1.11.4",
"scikit-image<=0.22.0",
"statsmodels",
"matplotlib<=3.8.2",
"openslide-python==1.3.1",
"pydicom==2.4.4",
"h5py==3.10.0",
"scikit-learn",
"dask[distributed]",
"anndata>=0.7.6",
"scanpy==1.9.6",
"torch==1.13.1",
"opencv-contrib-python==4.8.1.78",
"python-bioformats==4.0.7",
"python-javabridge==4.0.3",
"loguru==0.7.2",
"networkx<=3.2.1",
"torch-geometric==2.3.1",
"onnx==1.15.0",
"onnxruntime==1.16.3",
"jpype1==1.4.1",
"tqdm==4.66.1",
"anndata<=0.10.3",
"pydicom==2.4.4",
],
classifiers=[
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Framework :: Sphinx",
"Framework :: Pytest",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Image Recognition",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)