source:
anuga_core/source/anuga/pmesh/compile.py
@
4831
Last change on this file since 4831 was 4761, checked in by duncan, 17 years ago | |
---|---|
File size: 391 bytes |
Line | |
---|---|
1 | """compile.py - compile Python C-extension |
2 | |
3 | Commandline usage: |
4 | python compile.py <filename> |
5 | |
6 | """ |
7 | import os |
8 | |
9 | buildroot = os.getcwd() |
10 | os.chdir('..') |
11 | |
12 | |
13 | print 'Changing to', os.getcwd() |
14 | |
15 | #entries = listdir('.') |
16 | |
17 | #Attempt to compile mesh_engine extensions |
18 | |
19 | |
20 | os.chdir('mesh_engine') |
21 | execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py') |
22 | |
23 | os.chdir(buildroot) |
24 |
Note: See TracBrowser
for help on using the repository browser.