-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathsetup.py
More file actions
20 lines (17 loc) · 728 Bytes
/
setup.py
File metadata and controls
20 lines (17 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from setuptools import setup, Extension
from Cython.Build import cythonize
import numpy
ext_args = dict(
# include_dirs=[numpy.get_include()],
library_dirs=[],
runtime_library_dirs=[],
extra_link_args=[]
)
ext_modules = [
Extension(name="gvar._gvarcore", sources=["src/gvar/_gvarcore.pyx"], **ext_args),
Extension(name= "gvar._svec_smat", sources=["src/gvar/_svec_smat.pyx"], **ext_args),
Extension(name="gvar._utilities", sources=["src/gvar/_utilities.pyx"], **ext_args),
Extension(name="gvar.dataset", sources=["src/gvar/dataset.pyx"], **ext_args),
Extension(name="gvar._bufferdict", sources=["src/gvar/_bufferdict.pyx"], **ext_args),
]
setup(ext_modules=cythonize(ext_modules))