From de91a4302d50245acbf0ca374bc84f066480388f Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Tue, 1 Sep 2020 13:57:39 +0200 Subject: [PATCH] tox: add SETUPTOOLS_USE_DISTUTILS=stdlib in env (#46252) --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index 0bd0b0f..9ea1e81 100644 --- a/tox.ini +++ b/tox.ini @@ -9,6 +9,8 @@ toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/eopayment/{env:BRANCH_NAME:} [testenv] # django.contrib.auth is not tested it does not work with our templates +setenv = + SETUPTOOLS_USE_DISTUTILS=stdlib commands = py2: py.test {posargs: --junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=eopayment/ tests} py3: py.test {posargs: --junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=eopayment/ tests}