Update tools/install_venv.py
This commit is contained in:
parent
b66a127884
commit
43c8289c62
@ -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 = """
|
||||
|
Loading…
Reference in New Issue
Block a user