Rename .keystone-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: Ia831674b6e9c9d2be25b54e26c92009778d97a22
This commit is contained in:
James E. Blair 2011-12-05 11:24:30 -08:00
parent b5b28e0591
commit ff30def889
7 changed files with 10 additions and 7 deletions

1
.gitignore vendored
View File

@ -6,6 +6,7 @@
.pydevproject/
.settings/
.keystone-venv/
.venv
build/
dist/
doc/source/sourcecode

View File

@ -1,4 +1,6 @@
<dolph.mathews@rackspace.com> <dolph.mathews@gmail.com>
<jeblair@hp.com> <corvus@gnu.org>
<jeblair@hp.com> <james.blair@rackspace.com>
<joon.eo@gmail.com> <john.eo@rackspace.com>
Khaled Hussein <khaled.hussein@gmail.com> KnightHacker <khaled.hussein@rackspace.com>
Khaled Hussein <khaled.hussein@gmail.com> Khaled Hussein <khaled.hussein@rackspace.com>

View File

@ -7,7 +7,7 @@ Dan Prince <dan.prince@rackspace.com>
Dolph Mathews <dolph.mathews@gmail.com>
gholt <gholt@brim.net>
jabdul <abdulkader.j@hcl.com>
James E. Blair <corvus@gnu.org>
James E. Blair <jeblair@hp.com>
Jason Cannavale <jason.cannavale@rackspace.com>
Jay Pipes <jaypipes@gmail.com>
Jenkins <jenkins@review.openstack.org>

View File

@ -31,10 +31,10 @@ this environment, use the command::
$ python tools/install_venv.py
This will create a local virtual environment in the directory ``.keystone-venv``.
This will create a local virtual environment in the directory ``.venv``.
Once created, you can activate this virtualenv for your current shell using::
$ source .keystone-venv/bin/activate
$ source .venv/bin/activate
The virtual environment can be disabled using the command::

View File

@ -52,7 +52,7 @@ function process_option {
fi
}
venv=.keystone-venv
venv=.venv
with_venv=tools/with_venv.sh
always_venv=0
never_venv=0

View File

@ -28,7 +28,7 @@ import sys
ROOT = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
VENV = os.path.join(ROOT, '.keystone-venv')
VENV = os.path.join(ROOT, '.venv')
PIP_REQUIRES = os.path.join(ROOT, 'tools', 'pip-requires')
@ -119,7 +119,7 @@ def print_help():
To activate the Keystone virtualenv for the extent of your current shell
session you can run:
$ source .keystone-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

@ -1,4 +1,4 @@
#!/bin/bash
TOOLS=`dirname $0`
VENV=$TOOLS/../.keystone-venv
VENV=$TOOLS/../.venv
source $VENV/bin/activate && $@