doc: improve developer guide doc

Mention that the virtual environment's default Python version should be
Python 2.7.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
This commit is contained in:
Rishabh Dave 2019-09-17 21:37:44 +05:30
parent 01ffda8fff
commit aa1fa3eba6

View File

@ -1589,14 +1589,14 @@ using `vstart_runner.py`_. To do that, you'd need `teuthology`_ installed::
$ git clone https://github.com/ceph/teuthology
$ cd teuthology/
$ virtualenv ./venv
$ virtualenv -p python2.7 ./venv
$ source venv/bin/activate
$ pip install --upgrade pip
$ pip install -r requirements.txt
$ python setup.py develop
$ deactivate
.. note:: The pip command above is pip2, not pip3.
.. note:: The pip command above is pip2, not pip3; run ``pip --version``.
The above steps installs teuthology in a virtual environment. Before running
a test locally, build Ceph successfully from the source (refer