Update tools/install_venv.py

This commit is contained in:
Joshua Harlow 2012-02-18 00:22:51 -08:00
parent b66a127884
commit 43c8289c62

View File

@ -100,15 +100,6 @@ def install_dependencies(venv=VENV):
run_command([venv_tool, 'pip', 'install', '-E', venv, '-r', PIP_REQUIRES],
redirect_output=False)
# Tell the virtual env how to "import keystone"
for version in ['python2.7', 'python2.6']:
pth = os.path.join(venv, "lib", version, "site-packages")
if os.path.exists(pth):
pthfile = os.path.join(pth, "keystone.pth")
f = open(pthfile, 'w')
f.write("%s\n" % ROOT)
def print_help():
help = """