-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (34 loc) · 847 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
30
31
32
33
34
35
36
37
38
39
40
41
42
from setuptools import setup, Extension
qmath = Extension(
"qmathc",
sources=["pyquadp/qfloat.c", "pyquadp/qmathc.c"],
libraries=["quadmath"],
extra_compile_args=["-ggdb"],
)
qcmath = Extension(
"qcmathc",
sources=["pyquadp/qfloat.c", "pyquadp/qcmplx.c", "pyquadp/qcmathc.c"],
libraries=["quadmath"],
extra_compile_args=["-ggdb"],
)
qfloat = Extension(
"qfloat",
sources=["pyquadp/qfloat.c"],
libraries=["quadmath"],
extra_compile_args=["-ggdb"],
)
qcmplx = Extension(
"qcmplx",
sources=["pyquadp/qfloat.c", "pyquadp/qcmplx.c"],
libraries=["quadmath"],
extra_compile_args=["-ggdb"],
)
qint = Extension(
"qint",
sources=["pyquadp/qint.c"],
libraries=["quadmath"],
extra_compile_args=["-ggdb"],
)
setup(
ext_modules=[qfloat, qcmplx, qint, qmath, qcmath],
)