Add a patch for python eventlet, when using install_venv.py (see FAQ # 1485)

This commit is contained in:
John Tran
2011年04月05日 18:35:15 -07:00
parent 94ccd2f4a1
commit d137ffdc2f

View File

@@ -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
openstack/nova
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.

The note is not visible to the blocked user.