import os buildroot = os.getcwd() os.chdir('inundation') print 'Changing to', os.getcwd() #entries = listdir('.') #Attempt to compile all extensions os.chdir('utilities') execfile('compile.py') os.chdir('..') os.chdir('pyvolution') execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py') os.chdir('..') os.chdir('pmesh') execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py') os.chdir(buildroot) #execfile('test_all.py')