diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2020-01-12 11:23:43 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-01-12 11:31:58 -0500 |
commit | 6cb025eadfbc6bf017ba2bfd80c192ac377be9fb (patch) | |
tree | e8faa69cbc1f10a12a556e86ee9c652aa880f2d1 /tox.ini | |
parent | 70b3ec0bf0f61d6b7de1beff4bad4b845d836100 (diff) | |
download | python-setuptools-git-6cb025eadfbc6bf017ba2bfd80c192ac377be9fb.tar.gz |
Rely on tox-pip-version to upgrade pip and minimize the hack for removing setuptools from the environment.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -6,15 +6,17 @@ [tox] envlist=python +minversion = 3.2 +requires = + tox-pip-version >= 0.0.6 [helpers] -# Wrapper for calls to pip that make sure the version being used is a -# up-to-date, and to prevent the current working directory from being -# added to `sys.path`. +# Custom pip behavior pip = python {toxinidir}/tools/tox_pip.py [testenv] deps=-r{toxinidir}/tests/requirements.txt +pip_version = pip install_command = {[helpers]pip} install {opts} {packages} list_dependencies_command = {[helpers]pip} freeze --all setenv=COVERAGE_FILE={toxworkdir}/.coverage.{envname} |