Last change
on this file since 7967 was
7865,
checked in by hudson, 14 years ago
|
Refactoring to clean up pylint errors.
|
File size:
923 bytes
|
Line | |
---|
1 | """ Script to compile all C extensions in ANUGA. """ |
---|
2 | |
---|
3 | import os |
---|
4 | |
---|
5 | BUILDROOT = os.getcwd() |
---|
6 | |
---|
7 | #Attempt to compile all extensions |
---|
8 | |
---|
9 | os.chdir('utilities') |
---|
10 | execfile('compile.py') |
---|
11 | |
---|
12 | os.chdir('..') |
---|
13 | os.chdir('advection') |
---|
14 | execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py') |
---|
15 | |
---|
16 | os.chdir('..') |
---|
17 | os.chdir('abstract_2d_finite_volumes') |
---|
18 | execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py') |
---|
19 | |
---|
20 | os.chdir('..') |
---|
21 | os.chdir('file') |
---|
22 | execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py') |
---|
23 | |
---|
24 | os.chdir('..') |
---|
25 | os.chdir('shallow_water') |
---|
26 | execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py') |
---|
27 | |
---|
28 | os.chdir('..') |
---|
29 | os.chdir('shallow_water_balanced') |
---|
30 | execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py') |
---|
31 | |
---|
32 | os.chdir('..') |
---|
33 | os.chdir('mesh_engine') |
---|
34 | execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py') |
---|
35 | |
---|
36 | os.chdir(BUILDROOT) |
---|
37 | #execfile('test_all.py') |
---|
38 | |
---|
39 | if sys.platform == 'win32': |
---|
40 | raw_input('Press the RETURN key') |
---|
Note: See
TracBrowser
for help on using the repository browser.