mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-27 21:08:35 +08:00
9 lines
222 B
Python
9 lines
222 B
Python
import os
|
|
try:
|
|
import SimPEG
|
|
except ImportError, e:
|
|
os.system('git clone https://github.com/simpeg/simpeg.git')
|
|
os.system('mv simpeg/SimPEG temp')
|
|
os.system('rm -rf simpeg')
|
|
os.system('mv temp SimPEG')
|