Clarify virtualenv setup in developer docs

The Developer Environment documentation has an error where it explains
how to create a virtualenv with tox. If we follow instructions, we end
up with a nasty traceback from tox[1]. This is because the 'venv'
environment in tox.ini is expecting positional arguments and has no
default for when none are provided. This patch cribs from the Ironic
developer docs[2] to add a positional argument to make tox happy.

[1] http://paste.openstack.org/show/489709/
[2] http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html

Change-Id: I5478e051372f6133cc902e82c4168774fb15b1df
This commit is contained in:
Colleen Murphy
2016-03-08 09:40:05 -08:00
parent 2445d24efa
commit 26397af6a3
@@ -118,7 +118,7 @@ useful to keep a clean environment for working on Keystone.
.. code-block:: bash
$ tox -e venv
$ tox -e venv --notest
This will create a local virtual environment in the directory ``.tox``.
Once created, you can activate this virtualenv for your current shell using: