-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
47 lines (44 loc) · 1.25 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
from distutils.core import setup
from distutils.extension import Extension
from Cython.Build import cythonize
ext_modules = [
Extension(
"optimizedAssemble",
["optimizedAssemble.pyx"],
extra_compile_args=['-fopenmp'],
extra_link_args=['-fopenmp'],
),
Extension(
"optimizedFluidAssemble",
["optimizedFluidAssemble.pyx"],
extra_compile_args=['-fopenmp'],
extra_link_args=['-fopenmp'],
),
Extension(
"optimizedSolidAssemble",
["optimizedSolidAssemble.pyx"],
extra_compile_args=['-fopenmp'],
extra_link_args=['-fopenmp'],
),
Extension(
"optimizedExplicitVMSAssemble",
["optimizedExplicitVMSAssemble.pyx"],
),
# Extension(
# "optimizedExplicitVMSAssembleNew",
# ["optimizedExplicitVMSAssembleNew.pyx"],
# ),
Extension(
"bdyStressExport",
["bdyStressExport.pyx"],
),
Extension(
"optimizedParabolicVelocityProfile",
["optimizedParabolicVelocityProfile.pyx"],
)
]
setup(
ext_modules = cythonize(ext_modules), # generalizedAlphaSolver.pyx optimizedAssemble.pyx
# ["optimizedAssemble.pyx", "assemble.pyx"]
)
# directives = {'linetrace': False, 'language_level': 3}