source: compile_all.py @ 2550

Last change on this file since 2550 was 2550, checked in by ole, 18 years ago

Made compile all and test all use trunk revision

File size: 657 bytes
Line 
1import os
2
3buildroot = os.getcwd()
4
5os.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
15print 'Changing to', os.getcwd()       
16
17#entries = listdir('.')
18
19
20#Attempt to compile all extensions
21
22os.chdir('utilities')
23execfile('compile.py')
24
25os.chdir('..')
26os.chdir('pyvolution')
27execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
28
29os.chdir('..')
30os.chdir('triangle')
31execfile('compile.py')
32
33os.chdir(buildroot)   
34#execfile('test_all.py')
35   
Note: See TracBrowser for help on using the repository browser.