Files
152 lines
4.7 KiB
Python
152 lines
4.7 KiB
Python
"""
VENV = os.path.join(ROOT, '.nova-venv')
PY_VERSION = "python" + str(sys.version_info[0]) + '.' + str(sys.version_info[1])
if redirect_output:
output = proc.communicate()[0]
die('Command "%s" failed.\n%s', ''.join(cmd), output)
HAS_EASY_INSTALL = bool(run_command(['which', 'easy_install'], check_exit_code=False).strip())
def check_dependencies():
print 'done.'
print 'Creating venv...',
# Install greenlet by hand - just listing it in the requires file does not
redirect_output=False)
redirect_output=False)
pthfile = os.path.join(venv, "lib", PY_VERSION, "site-packages", "nova.pth")
patchfile = os.path.join(venv, "lib", PY_VERSION, "site-packages", "eventlet",
def print_help():
"""
check_dependencies()