Merge "Rename .glance-venv to .venv."

This commit is contained in:
Jenkins
2011-12-06 21:53:07 +00:00
committed by Gerrit Code Review
7 changed files with 9 additions and 6 deletions

View File

@@ -2,6 +2,7 @@
glance.egg-info
tests.sqlite
*.glance-venv
.venv/
dist/
ChangeLog
*.pid

1
.gitignore vendored
View File

@@ -2,6 +2,7 @@
*.swp
*.log
.glance-venv
.venv
build
dist
glance.egg-info

View File

@@ -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>

View File

@@ -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>

View File

@@ -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

View File

@@ -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:

View File

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