Rename .glance-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: I7916783d863e5184bad8293c3aed5ba119e374a9
This commit is contained in:
parent
2da279408b
commit
37fc2b00c0
@ -2,6 +2,7 @@
|
||||
glance.egg-info
|
||||
tests.sqlite
|
||||
*.glance-venv
|
||||
.venv/
|
||||
dist/
|
||||
ChangeLog
|
||||
*.pid
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,6 +2,7 @@
|
||||
*.swp
|
||||
*.log
|
||||
.glance-venv
|
||||
.venv
|
||||
build
|
||||
dist
|
||||
glance.egg-info
|
||||
|
3
.mailmap
3
.mailmap
@ -9,4 +9,5 @@
|
||||
<rick@openstack.org> <rclark@chat-blanc>
|
||||
<soren.hansen@rackspace.com> <soren@linux2go.dk>
|
||||
<soren.hansen@rackspace.com> <soren@openstack.org>
|
||||
<james.blair@rackspace.com> <corvus@gnu.org>
|
||||
<jeblair@hp.com> <corvus@gnu.org>
|
||||
<jeblair@hp.com> <james.blair@rackspace.com>
|
||||
|
2
Authors
2
Authors
@ -12,7 +12,7 @@ Ewan Mellor <ewan.mellor@citrix.com>
|
||||
Isaku Yamahata <yamahata@valinux.co.jp>
|
||||
Jason Koelker <jason@koelker.net>
|
||||
Jay Pipes <jaypipes@gmail.com>
|
||||
James E. Blair <james.blair@rackspace.com>
|
||||
James E. Blair <jeblair@hp.com>
|
||||
Jinwoo 'Joseph' Suh <jsuh@isi.edu>
|
||||
Johannes Erdfelt <johannes.erdfelt@rackspace.com>
|
||||
Josh Durgin <josh.durgin@dreamhost.com>
|
||||
|
@ -29,7 +29,7 @@ function process_option {
|
||||
esac
|
||||
}
|
||||
|
||||
venv=.glance-venv
|
||||
venv=.venv
|
||||
with_venv=tools/with_venv.sh
|
||||
always_venv=0
|
||||
never_venv=0
|
||||
|
@ -28,7 +28,7 @@ import sys
|
||||
|
||||
|
||||
ROOT = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
|
||||
VENV = os.path.join(ROOT, '.glance-venv')
|
||||
VENV = os.path.join(ROOT, '.venv')
|
||||
PIP_REQUIRES = os.path.join(ROOT, 'tools', 'pip-requires')
|
||||
|
||||
|
||||
@ -124,7 +124,7 @@ def print_help():
|
||||
To activate the Glance virtualenv for the extent of your current shell session
|
||||
you can run:
|
||||
|
||||
$ source .glance-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:
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
TOOLS=`dirname $0`
|
||||
VENV=$TOOLS/../.glance-venv
|
||||
VENV=$TOOLS/../.venv
|
||||
source $VENV/bin/activate && $@
|
||||
|
Loading…
Reference in New Issue
Block a user