diff --git a/.gitignore b/.gitignore index 3ef41c879a2d..64a96d0a861a 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ build/* build-stamp nova.egg-info .nova-venv +.venv *.sqlite *.log po/*.pot \ No newline at end of file diff --git a/.mailmap b/.mailmap index 2265c2e2286f..21bdaaa3a501 100644 --- a/.mailmap +++ b/.mailmap @@ -25,6 +25,8 @@ + + diff --git a/Authors b/Authors index 11e1daa8c16b..adc7c9c9587c 100644 --- a/Authors +++ b/Authors @@ -55,7 +55,7 @@ Hisaki Ohara Ilya Alekseyev Isaku Yamahata Jake Dahn -James E. Blair +James E. Blair Jason Cannavale Jason Koelker Jay Pipes diff --git a/doc/source/devref/development.environment.rst b/doc/source/devref/development.environment.rst index 1e81b4cfa1e3..ce5b721b7d7a 100644 --- a/doc/source/devref/development.environment.rst +++ b/doc/source/devref/development.environment.rst @@ -96,7 +96,7 @@ Grab the code from GitHub:: Running unit tests ------------------ -The unit tests will run by default inside a virtualenv in the ``.nova-venv`` +The unit tests will run by default inside a virtualenv in the ``.venv`` directory. Run the unit tests by doing:: ./run_tests.sh @@ -130,7 +130,7 @@ If all goes well, you should get a message something like this:: To activate the Nova virtualenv for the extent of your current shell session you can run:: - $ source .nova-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:: diff --git a/run_tests.sh b/run_tests.sh index 23e9783b1f6f..0b2acbc00339 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -42,7 +42,7 @@ function process_option { esac } -venv=.nova-venv +venv=.venv with_venv=tools/with_venv.sh always_venv=0 never_venv=0 diff --git a/tools/install_venv.py b/tools/install_venv.py index e5279a8409db..35afb44378b9 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -31,7 +31,7 @@ import platform ROOT = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) -VENV = os.path.join(ROOT, '.nova-venv') +VENV = os.path.join(ROOT, '.venv') PIP_REQUIRES = os.path.join(ROOT, 'tools', 'pip-requires') PY_VERSION = "python%s.%s" % (sys.version_info[0], sys.version_info[1]) @@ -235,7 +235,7 @@ def print_help(): To activate the Nova virtualenv for the extent of your current shell session you can run: - $ source .nova-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: diff --git a/tools/with_venv.sh b/tools/with_venv.sh index 99d1ac18ff14..c8d2940fc7a6 100755 --- a/tools/with_venv.sh +++ b/tools/with_venv.sh @@ -1,4 +1,4 @@ #!/bin/bash TOOLS=`dirname $0` -VENV=$TOOLS/../.nova-venv +VENV=$TOOLS/../.venv source $VENV/bin/activate && $@