tox: add SETUPTOOLS_USE_DISTUTILS=stdlib in env (#46252)

This commit is contained in:
Thomas NOËL 2020-09-01 13:57:39 +02:00
parent ff51a685bf
commit de91a4302d
1 changed files with 2 additions and 0 deletions

View File

@ -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}