From f181e467e30ecc2e6690041bbc7cf6e69ce9a679 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Tue, 5 Apr 2016 09:32:54 -0400 Subject: [PATCH] Adds [testenv:venv] section to tox.ini 'publish-to-pypi' Zuul job tries to execute 'tox -evenv python setup.py sdist' and fails without 'venv' being set. See exact change made in monasca-log-api project: I90462831c8ecfe9fcdf42fbebe95dc314d03aef6 Change-Id: I72df080b222596c35e982c14ca2a5b5501f4a1bf --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index c35837b..54ba240 100644 --- a/tox.ini +++ b/tox.ini @@ -19,6 +19,9 @@ whitelist_externals = bash deps = -r{toxinidir}/pep8-test-requirements.txt commands = flake8 +[testenv:venv] +commands = {posargs} + [flake8] ignore = exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build