source: compile_all.py @ 2958

Last change on this file since 2958 was 2778, checked in by steve, 19 years ago

On our 64 bit machine, ran into problem in pmesh/mesh.py where seg[0], seg[1], triangle,
and neighbor where not seen as integers. Had to wrap them in int(..)

File size: 622 bytes
RevLine 
[2778]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.