Rename .quantum-venv to .venv.

This simplifies a number of Jenkins jobs which currently, other
than directory names, could be the same for all OpenStack
projects. By renaming the virtualenv directory, the redundant
Jenkins virtualenv build and copy jobs can be eliminated.

Change-Id: I93c7f6577b4c3a76b021f002bda59fcb8fac3f95
This commit is contained in:
James E. Blair 2011-12-23 15:02:57 -08:00
parent 3147146641
commit d9827b863b
3 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ run_tests.err.log
run_tests.log
tests/
.quantum-venv/
.venv/

View File

@ -29,7 +29,7 @@ import sys
ROOT = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
VENV = os.path.join(ROOT, '.quantum-venv')
VENV = os.path.join(ROOT, '.venv')
PIP_REQUIRES = os.path.join(ROOT, 'tools', 'pip-requires')
PY_VERSION = "python%s.%s" % (sys.version_info[0], sys.version_info[1])
@ -110,7 +110,7 @@ def print_help():
To activate the Quantum virtualenv for the extent of your current shell
session you can run:
$ source .quantum-venv/bin/activate
$ source .venv/bin/activate
Or, if you prefer, you can run commands in the virtualenv on a case by case
basis by running:

View File

@ -17,5 +17,5 @@
# under the License.
TOOLS=`dirname $0`
VENV=$TOOLS/../.quantum-venv
VENV=$TOOLS/../.venv
source $VENV/bin/activate && $@