summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2018-01-17 10:09:47 -0800
committerTim Burke <tim.burke@gmail.com>2018-01-17 11:13:59 -0800
commita9b8f0a0d191873ac88b0c70166a2b889096fa69 (patch)
tree456b376414c182a88dff88e4d813421c5afc6e7a /tox.ini
parentcde257de5cdfd1d0f5c832e154a7dee9cd42f13f (diff)
downloadpython-swiftclient-a9b8f0a0d191873ac88b0c70166a2b889096fa69.tar.gz
Revert "Add Constraints support"
Per http://lists.openstack.org/pipermail/openstack-dev/2017-December/125348.html > For many projects, tox_install.sh is not needed at all Let's see if that holds for python-swiftclient! This reverts commit f2f278fcbec3ad52a1726bb5a3f775d13bcc99dc. Change-Id: I0462c50ec71d87bac226f83a0d0942871ef5a0e7
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini10
1 files changed, 3 insertions, 7 deletions
diff --git a/tox.ini b/tox.ini
index e737241..541df65 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,13 +5,11 @@ skipsdist = True
[testenv]
usedevelop = True
-install_command = "{toxinidir}/tools/tox_install.sh" "{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}" {opts} {packages}
+install_command = python -m pip install -U {opts} {packages}
list_dependencies_command = python -m pip freeze
setenv =
LANG=en_US.utf8
VIRTUAL_ENV={envdir}
- BRANCH_NAME=master
- CLIENT_NAME=python-swiftclient
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
@@ -31,13 +29,11 @@ commands =
commands = {posargs}
[testenv:cover]
-commands = python setup.py testr --coverage
+commands = python setup.py testr --coverage
coverage report
[testenv:func]
-setenv =
- {[testenv]setenv}
- OS_TEST_PATH=tests.functional
+setenv = OS_TEST_PATH=tests.functional
whitelist_externals =
coverage
rm