DSurfTomo/configure
Hongjian Fang 3ac475560e new release 2016
share to public
2016-05-05 12:52:53 +02:00

17 lines
496 B
Python
Executable File

#!/usr/bin/env python
# this is a script to install surf_tomo and surf_tomo_syn in your system
# written by Hongjian Fang(fanghj@mail.ustc.edu.cn)
import os
if 'bin' in os.listdir('.'):
print 'installation beginning'
else:
print 'installation beginning'
os.mkdir('bin')
os.chdir('src')
os.system('make clean')
os.system('make')
os.system('cp DSurfTomo ../bin')
print '--------------------------------------'
print 'Finishing DSurfTomo compiling'
print '--------------------------------------'