Add a patch for python eventlet, when using install_venv.py (see FAQ # 1485)
This commit is contained in:
2 changed files with 30 additions and 0 deletions
@@ -103,6 +103,12 @@ def install_dependencies(venv=VENV):
pthfile = os.path.join(venv, "lib", "python2.6", "site-packages", "nova.pth")
f = open(pthfile, 'w')
f.write("%s\n" % ROOT)
# Patch eventlet (see FAQ # 1485)
patchsrc = os.path.join(ROOT, 'tools', 'eventlet-patch')
patchfile = os.path.join(venv, "lib", "python2.6", "site-packages", "eventlet",
"green", "subprocess.py")
patch_cmd = "patch %s%s" % (patchfile, patchsrc)
os.system(patch_cmd)
def print_help():
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.