mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-28 15:57:18 +08:00
11 lines
271 B
Python
11 lines
271 B
Python
import os
|
|
try:
|
|
import SimPEG
|
|
except ImportError, e:
|
|
os.system('git clone https://github.com/simpeg/simpeg.git')
|
|
os.system('python simpeg/setup.py install')
|
|
|
|
os.system('mv simpeg/SimPEG temp')
|
|
os.system('rm -rf simpeg')
|
|
os.system('mv temp SimPEG')
|