blob: 55b47f107b722bfcf36876ca49f57c5d036f03bc (
plain)
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
|
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
cython_sources = [
"wrapper.pyx",
]
ext_modules = [
Extension(
"pyesolid", #name of extension
cython_sources, #filenames
language="c++", #language
include_dirs=["include/"],
libraries=["gmp", "lapack"], #might need cblas, f2c
extra_link_args=None,
extra_objects=["libesolid.a"],
)
]
setup(
name = "ESOLID cython module",
cmdclass = {"build_ext": build_ext},
ext_modules = ext_modules
)
|