-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
27 lines (26 loc) · 890 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
from distutils.core import setup
from distutils.extension import Extension
import numpy
from Cython.Build import cythonize
setup(
ext_modules = cythonize([
Extension("shared",
["shared.pyx"],
language="c++",
extra_compile_args=["-O0"],
include_dirs=[numpy.get_include()],
libraries=["lbswim"]),
Extension("lb",
["lb.pyx"],
language="c++",
extra_compile_args=["-O0"],
include_dirs=[numpy.get_include()],
libraries=["lbswim"]),
Extension("swimmers",
["swimmers.pyx"],
language="c++",
extra_compile_args=["-O0"],
include_dirs=[numpy.get_include()],
libraries=["lbswim"])
])
)