-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (47 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
import io
import setuptools
try:
import numpy as np
except ImportError:
print("Please install Numpy first. e.g. pip install numpy")
exit(1)
module_utils = setuptools.extension.Extension('ssam.utils', sources=["c/utils.cpp"], extra_compile_args=["-fopenmp", "-mavx512f"], extra_link_args=["-fopenmp", "-mavx512f"], include_dirs=[np.get_include()])
with io.open("README.rst", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="ssam",
version="1.1.2",
author="Jeongbin Park",
author_email="[email protected]",
description="SSAM",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/pnucolab/ssam",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Operating System :: POSIX",
],
ext_modules = [module_utils],
install_requires=[
"numpy>=1.26.4,<=2.0.2",
"zarr<3",
"networkx",
"numba",
"scipy",
"pandas",
"matplotlib",
"seaborn",
"scikit-learn",
"umap-learn",
"leidenalg",
"sparse",
"scikit-image",
"dask",
"dask[array]",
"opencv-python",
"packaging",
"tqdm",
]
)