Esempio n. 1
0
 def _fix_import_error(self):
     zs.log("FIX:ImportError: No module named _sysconfigdata_nd")
     python_path = "/usr/lib/python2.7/"
     plat = "plat-x86_64-linux-gnu/"
     py = "_sysconfigdata_nd.py"
     orig = "%s%s%s" % (python_path, plat, py)
     link = "%s%s" % (python_path, py)
     zs.perform("ln -s %s %s" % (orig, link)) 
Esempio n. 2
0
 def pip_install(self, package):
     super(Ubuntu1304, self).pip_install(package)
     zs.perform("pip install %s" % package)
Esempio n. 3
0
 def repo_install(self, package):
     super(Ubuntu1304, self).repo_install(package)
     zs.perform("apt-get install -y %s" % package)