summaryrefslogtreecommitdiffstats
path: root/tools/install_venv.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/install_venv.py')
-rw-r--r--tools/install_venv.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/install_venv.py b/tools/install_venv.py
index 4e3941210..30ec85374 100644
--- a/tools/install_venv.py
+++ b/tools/install_venv.py
@@ -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():