diff options
author | Tim Burke <tim.burke@gmail.com> | 2017-11-28 11:02:45 -0800 |
---|---|---|
committer | Tim Burke <tim.burke@gmail.com> | 2017-11-28 11:02:45 -0800 |
commit | cb2778659e8d69d8741ca3167314862f8555a989 (patch) | |
tree | c5c7b7c4dcf19370e51a8d327d37768a07922d1f /tox.ini | |
parent | 2b3a659da47b9936b5801736e1d10164bb9c6227 (diff) | |
download | python-swiftclient-cb2778659e8d69d8741ca3167314862f8555a989.tar.gz |
Make tox runnable in a directory with spaces
I noticed a disturbing lack of quote-wrapping in change
I7cb4b44952713752435e1faf0f63bf0d37e7dda6 but as I poked at it, I
realized that trouble runs rampant.
This seems to clean it all up, though I haven't tested *every*
environment we define.
Change-Id: I1454eb113e5bd9125d39f2e57e2ed96f6ddc42fc
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -5,7 +5,8 @@ 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 = "{toxinidir}/tools/tox_install.sh" "{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}" {opts} {packages} +list_dependencies_command = python -m pip freeze setenv = LANG=en_US.utf8 VIRTUAL_ENV={envdir} @@ -24,7 +25,7 @@ passenv = SWIFT_* *_proxy [testenv:pep8] commands = - flake8 swiftclient tests + python -m flake8 swiftclient tests [testenv:venv] commands = {posargs} |