source: trunk/anuga_core/source/anuga/compile_all.py @ 7865

Last change on this file since 7865 was 7865, checked in by hudson, 14 years ago

Refactoring to clean up pylint errors.

File size: 923 bytes
Line 
1""" Script to compile all C extensions in ANUGA. """
2
3import os
4
5BUILDROOT = os.getcwd()
6
7#Attempt to compile all extensions
8
9os.chdir('utilities')
10execfile('compile.py')
11
12os.chdir('..')
13os.chdir('advection')
14execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
15
16os.chdir('..')
17os.chdir('abstract_2d_finite_volumes')
18execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
19
20os.chdir('..')
21os.chdir('file')
22execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
23
24os.chdir('..')
25os.chdir('shallow_water')
26execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
27
28os.chdir('..')
29os.chdir('shallow_water_balanced')
30execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
31
32os.chdir('..')
33os.chdir('mesh_engine')
34execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
35
36os.chdir(BUILDROOT)   
37#execfile('test_all.py')
38   
39if sys.platform == 'win32':
40    raw_input('Press the RETURN key')
Note: See TracBrowser for help on using the repository browser.