Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 585 Bytes
import os,sys,string
#parsnp basic INSTALL script
user_home = os.environ["HOME"]
print "<<Welcome to Parsnp utility script install>>"
#check for python version
if (sys.version_info[0] < 2) or (sys.version_info[0] == 2 and sys.version_info[1] < 6):
print "Python version is %s. Parsnp requires at least 2.6"%(sys.version)
#complete shebang
os.system("python install_scripts --install-dir=`pwd` build")
scripts = [""]
#copy to currdir
files = os.listdir(".")
for script in scripts:
os.system("mv %s %s"%(script,script.replace(".py","")))
You can’t perform that action at this time.