This repository was archived by the owner on Oct 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathsetup.py
More file actions
45 lines (42 loc) · 1.26 KB
/
Copy pathsetup.py
File metadata and controls
45 lines (42 loc) · 1.26 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
import io
import setuptools
try:
import numpy as np
except ImportError:
print("Please install Numpy first. e.g. pip install numpy")
exit(1)
from glob import glob
module_utils = setuptools.extension.Extension('ssam.utils', sources=["c/utils.cpp"], extra_compile_args=["-fopenmp"], extra_link_args=["-fopenmp"], 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.0.2",
author="Jeongbin Park",
author_email="j.park@dkfz-heidelberg.de",
description="SSAM",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/HiDiHlabs/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",
"scipy",
"pandas",
"matplotlib",
"seaborn",
"scikit-learn",
"umap-learn",
"python-louvain",
"sparse",
"scikit-image",
"pyarrow",
"packaging",
]
)