Run correctly even if called while in tools/ directory, as 'python install_venv.py'

This commit is contained in:
Michael Gundlach
2010-08-09 17:45:00 -04:00
parent 05b87ac8e7
commit 09b5be11e7
+1 -1
View File
@@ -7,7 +7,7 @@ import subprocess
import sys
ROOT = os.path.dirname(os.path.dirname(__file__))
ROOT = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
VENV = os.path.join(ROOT, '.nova-venv')
PIP_REQUIRES = os.path.join(ROOT, 'tools', 'pip-requires')
TWISTED_NOVA='http://nova.openstack.org/Twisted-10.0.0Nova.tar.gz'