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