-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
55 lines (52 loc) · 3.09 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
from distutils.core import setup, Extension
from Cython.Build import cythonize
import numpy
ext_modules = [Extension('_contactmap', ['src/_contactmap.pyx'], include_dirs = [numpy.get_include()]),
Extension('_sdp',['src/_sdp.pyx'], include_dirs = [numpy.get_include()]),
Extension('_sdp_hist',['src/_sdp_hist.pyx'], include_dirs = [numpy.get_include()]),
Extension('_sdp_hist_region',['src/_sdp_hist_region.pyx'], include_dirs = [numpy.get_include()]),
Extension('_ps',['src/_ps.pyx'], include_dirs = [numpy.get_include()]),
Extension('_distmap',['src/_distmap.pyx'], include_dirs = [numpy.get_include()]),
Extension('_contactevolution',['src/_contactevolution.pyx'],include_dirs = [numpy.get_include()]),
Extension('_loop_gyration_tensor',['src/_loop_gyration_tensor.pyx'],include_dirs = [numpy.get_include()]),
Extension('_type_gyration_tensor',['src/_type_gyration_tensor.pyx'],include_dirs = [numpy.get_include()]),
Extension('_gyration_tensor', ['src/_gyration_tensor.pyx'], include_dirs = [numpy.get_include()]),\
Extension('_loop_orientation', ['src/_loop_orientation.pyx'], include_dirs = [numpy.get_include()]),\
Extension(name="_pdist_pbc",
sources=["src/_pdist_pbc.pyx"],
library_dirs=['/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/'],
include_dirs=['/usr/include/'],
extra_compile_args=['-O3', '-ffast-math', '-fopenmp'],
extra_link_args=['-fopenmp']),\
Extension(name="_sk_debye",
sources=["src/_sk_debye.pyx"],
library_dirs=['/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/'],
include_dirs=['/usr/include/'],
extra_compile_args=['-O3', '-ffast-math', '-fopenmp'],
extra_link_args=['-fopenmp'],
language='c++'),\
Extension(name="_sk_lebedev",
sources=["src/_sk_lebedev.pyx"],
library_dirs=['/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/'],
include_dirs=['/usr/include/',numpy.get_include()],
extra_compile_args=['-O3', '-ffast-math', '-fopenmp'],
extra_link_args=['-fopenmp'],
language='c++'),\
Extension(name="_sk_direct",
sources=["src/_sk_direct.pyx"],
library_dirs=['/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/'],
include_dirs=['/usr/include/',numpy.get_include()],
extra_compile_args=['-O3', '-ffast-math', '-fopenmp'],
extra_link_args=['-fopenmp'],
language='c++'),\
Extension(name="_rdf",
sources=["src/_rdf.pyx"],
library_dirs=['/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/'],
include_dirs=['/usr/include/',numpy.get_include()],
extra_compile_args=['-O3', '-ffast-math', '-fopenmp'],
extra_link_args=['-fopenmp'],
language='c++')
]
setup(
ext_modules = cythonize(ext_modules),
)