
Lately osf/ namespace got renamed to openinfra/ [1], this commit reflects this change within python-tempestconf's repo. A few jobs are temporarily put to non voting or disabled (due to taking long time to finish or due to failures) to unblock the gates. [1] https://review.opendev.org/c/openstack/project-config/+/808479 Change-Id: Iecc81881f5d541e0114e880e4b5326c1c064ea09
48 lines
1.1 KiB
ReStructuredText
48 lines
1.1 KiB
ReStructuredText
============
|
|
Installation
|
|
============
|
|
|
|
Git
|
|
---
|
|
|
|
1. Clone and change to the directory::
|
|
|
|
$ git clone https://opendev.org/openinfra/python-tempestconf
|
|
$ cd python-tempestconf
|
|
|
|
2. Create a virtual environment using :command:`virtualenv`::
|
|
|
|
$ virtualenv .venv
|
|
$ source .venv/bin/activate
|
|
|
|
3. Install requirements in the newly created virtual environment::
|
|
|
|
(.venv) $ pip install .
|
|
|
|
4. *(optional)* Instead of manual installation described in steps 2 and 3
|
|
above, tox can be used for installing the requirements as well.
|
|
To create python 3.6 environment run following::
|
|
|
|
$ tox -epy36
|
|
$ source .tox/py36/bin/activate
|
|
|
|
RPM Installation (RDO)
|
|
----------------------
|
|
|
|
* ``python-tempestconf`` package can be installed as follows::
|
|
|
|
$ sudo yum install python-tempestconf
|
|
|
|
* ``python-tempestconf`` is installed together with ``openstack-tempest``, as
|
|
a new dependency (starting **from** the **Ocata** release)::
|
|
|
|
$ sudo yum install openstack-tempest
|
|
|
|
|
|
Pip installation
|
|
----------------
|
|
|
|
Install ``python-tempestconf`` via pip as follows::
|
|
|
|
$ pip install python-tempestconf
|