source: compile_all.py @ 2547

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 
1import os
2
3buildroot = os.getcwd()
4
5#Complete horrible hack to decide which branch to take (Ole)
6try:
7    os.stat('inundation-numpy-branch')
8except:
9    os.chdir('inundation')
10else:
11    os.chdir('inundation-numpy-branch')   
12
13print 'Changing to', os.getcwd()       
14
15#entries = listdir('.')
16
17
18#Attempt to compile all extensions
19
20os.chdir('utilities')
21execfile('compile.py')
22
23os.chdir('..')
24os.chdir('pyvolution')
25execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
26
27os.chdir('..')
28os.chdir('triangle')
29execfile('compile.py')
30
31os.chdir(buildroot)   
32#execfile('test_all.py')
33   
Note: See TracBrowser for help on using the repository browser.