forked from bioinfocao/pysapc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
29 lines (28 loc) · 969 Bytes
/
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
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import numpy
ext = Extension("pysapc.sparseAP_cy", ['pysapc/sparseAP_cy.pyx'],
extra_compile_args=['-fopenmp'],
extra_link_args=['-fopenmp'],
include_dirs=[numpy.get_include()],
)
setup(
name="pysapc",
version="1.0.0",
description="Sparse Affinity Propagation Clustering",
author="Huojun Cao",
author_email="[email protected]",
url="https://github.com/bioinfocao/pysapc",
license="BSD 3 clause",
packages=["pysapc","pysapc.tests"],
#packages = find_packages(),
package_data = {
# If any package contains *.txt or *.rst files, include them:
'': ['*.txt', '*.rst'],
},
include_package_data=True,
install_requires=["numpy","scipy","pandas","cython"],
cmdclass = {"build_ext": build_ext},
ext_modules = [ext],
)