forked from scott-maddox/fdint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_gen_code.py
executable file
·60 lines (51 loc) · 1.35 KB
/
run_gen_code.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
48
49
50
51
52
53
54
55
56
57
58
59
60
# Copyright (c) 2015, Scott J Maddox. All rights reserved.
# Use of this source code is governed by the BSD-3-Clause
# license that can be found in the LICENSE file.
'''
Runs all of the code-generating scripts in the correct sequence.
'''
import os
import sys
import subprocess
scripts_dir = os.path.dirname(__file__)
scripts = [
'gen__fd_pxd.py',
'gen__fd_pyx.py',
'gen__fd_whole_pxd.py',
'gen__fd_whole_pyx.py',
'gen__vfd_pxd.py',
'gen__vfd_pyx.py',
'gen__dfd_pxd.py',
'gen__dfd_pyx.py',
'gen__vdfd_pxd.py',
'gen__vdfd_pyx.py',
'gen__ifd_pxd.py',
'gen__ifd_pyx.py',
'gen__vifd_pxd.py',
'gen__vifd_pyx.py',
'gen__gfd_pxd.py',
'gen__gfd_pyx.py',
'gen__vgfd_pxd.py',
'gen__vgfd_pyx.py',
'gen__dgfd_pxd.py',
'gen__dgfd_pyx.py',
'gen__vdgfd_pxd.py',
'gen__vdgfd_pyx.py',
'gen__nonparabolic_pxd.py',
'gen__nonparabolic_pyx.py',
'gen__vnonparabolic_pxd.py',
'gen__vnonparabolic_pyx.py',
'gen__dnonparabolic_pxd.py',
'gen__dnonparabolic_pyx.py',
'gen__vdnonparabolic_pxd.py',
'gen__vdnonparabolic_pyx.py',
'gen__fdint.py',
'gen_fd_pyx.py',
'gen_dfd_pyx.py',
'gen_ifd_pyx.py',
'gen_gfd_pyx.py',
'gen_dgfd_pyx.py',
]
for script in scripts:
print 'running', script
subprocess.call(['python', os.path.join(scripts_dir, script)])