Last change
on this file since 3158 was
3027,
checked in by duncan, 18 years ago
|
directory name change to avoid name conflicts.
|
File size:
625 bytes
|
Rev | Line | |
---|
[2778] | 1 | import os |
---|
| 2 | |
---|
| 3 | buildroot = os.getcwd() |
---|
| 4 | |
---|
| 5 | os.chdir('inundation') |
---|
| 6 | |
---|
| 7 | #Complete horrible hack to decide which branch to take (Ole) |
---|
| 8 | #try: |
---|
| 9 | # os.stat('inundation-numpy-branch') |
---|
| 10 | #except: |
---|
| 11 | # os.chdir('inundation') |
---|
| 12 | #else: |
---|
| 13 | # os.chdir('inundation-numpy-branch') |
---|
| 14 | |
---|
| 15 | print 'Changing to', os.getcwd() |
---|
| 16 | |
---|
| 17 | #entries = listdir('.') |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | #Attempt to compile all extensions |
---|
| 21 | |
---|
| 22 | os.chdir('utilities') |
---|
| 23 | execfile('compile.py') |
---|
| 24 | |
---|
| 25 | os.chdir('..') |
---|
| 26 | os.chdir('pyvolution') |
---|
| 27 | execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py') |
---|
| 28 | |
---|
| 29 | os.chdir('..') |
---|
[3027] | 30 | os.chdir('mesh_engine') |
---|
[2778] | 31 | execfile('compile.py') |
---|
| 32 | |
---|
| 33 | os.chdir(buildroot) |
---|
| 34 | #execfile('test_all.py') |
---|
| 35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.