From 7ab80b554dde5f1f1e61b6a8c45492c5ac27ed6b Mon Sep 17 00:00:00 2001 From: Michael Basnight Date: Wed, 19 Jun 2013 13:44:44 -0700 Subject: Rename from reddwarf to trove. Implements Blueprint reddwarf-trove-rename Change-Id: Ia9ee609bbc06a1d8b9d6917642529f30347541fd --- tools/install_venv.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tools') diff --git a/tools/install_venv.py b/tools/install_venv.py index 4debd4c8..e25bed82 100755 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -21,7 +21,7 @@ # under the License. """ -Installation script for Reddwarf's development virtualenv +Installation script for Trove's development virtualenv """ import os @@ -79,7 +79,7 @@ def check_dependencies(): print 'Installing virtualenv via easy_install...', if not (run_command(['which', 'easy_install']) and run_command(['easy_install', 'virtualenv'])): - die('ERROR: virtualenv not found.\n\Reddwarf development' + die('ERROR: virtualenv not found.\n\Trove development' ' requires virtualenv, please install it using your' ' favorite package management tool') print 'done.' @@ -109,21 +109,21 @@ def install_dependencies(venv=VENV): run_command(['tools/with_venv.sh', '-E', venv, 'pip', 'install', '-r', requires], redirect_output=False) - # Tell the virtual env how to "import reddwarf" + # Tell the virtual env how to "import trove" pthfile = os.path.join(venv, "lib", PY_VERSION, "site-packages", - "reddwarf.pth") + "trove.pth") f = open(pthfile, 'w') f.write("%s\n" % ROOT) def print_help(): help = """ - Reddwarf development environment setup is complete. + Trove development environment setup is complete. - Reddwarf development uses virtualenv to track and manage Python + Trove development uses virtualenv to track and manage Python dependencies while in development and testing. - To activate the Reddwarf virtualenv for the extent of your current shell + To activate the Trove virtualenv for the extent of your current shell session you can run: $ source .venv/bin/activate -- cgit v1.2.1