mirror of
https://github.com/HongjianFang/DSurfTomo.git
synced 2025-09-15 15:58:12 +08:00
change configure
This commit is contained in:
16
configure
vendored
Executable file
16
configure
vendored
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/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 SurfTomo ../bin')
|
||||
print '--------------------------------------'
|
||||
print 'surf_tomo install over'
|
||||
print '--------------------------------------'
|
Reference in New Issue
Block a user