Martin Kopec 33f0d1e9db Fix the python 3 support and drop python 2 and 3.5
OpenStack is dropping the py2.7 and py3.5 support in ussuri cycle.

python-tempestconf is python 3 ready and ok to drop the python 2.7
and python 3.5 support. Last python-tempestconf version officially supporting
python 2.7 and python 3.5 is 2.5.0

From now on, python-tempestconf will test all stable branches with py3
jobs.
Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

The patch disables swift service for queens job only due to swift issues
on py3 in queens.

Story: 2007107
Task: 38163
Task: 38164

Change-Id: I0d38195f0cfbdf52a0a7e7ec721cfa9a3e2c6ea8
2020-03-02 20:51:47 +00:00

48 lines
1.1 KiB
ReStructuredText

============
Installation
============
Git
---
1. Clone and change to the directory::
$ git clone https://opendev.org/openstack/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