mirror of
https://github.com/ansible/tower-cli.git
synced 2026-02-05 15:48:09 +01:00
Dropping the tox py26 env as tests are failing with:
```
prefix = urljoin(prefix, "{}/".format(CUR_API_VERSION))
ValueError: zero length field name in format
```
Current output of running tox:
```
docs: commands succeeded
flake8: commands succeeded
ERROR: py26: commands failed
py27: commands succeeded
py34: commands succeeded
py35: commands succeeded
py36: commands succeeded
```
Signed-off-by: Yanis Guenane <yanis@guenane.org>
'Hacking' directory tools
Env-setup
The 'env-setup' script modifies your environment to allow you to run tower-cli from a git checkout using python 2.7+.
First, set up your environment to run from the checkout:
$ source ./hacking/env-setup
You will need some basic prerequisites installed. If you do not already have them and do not wish to install them from your operating system package manager, you can install them from pip
$ easy_install pip # if pip is not already available
$ pip install -r requirements.txt
From there, follow tower-cli instructions on docs.ansible.com as normal.