Merge "Rename .glance-venv to .venv."
This commit is contained in:
@@ -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 && $@
|
||||
|
Reference in New Issue
Block a user