From b7f6718b7e85b8125400e98807d3f356fac4a6b6 Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Tue, 1 Sep 2020 11:21:07 +0200 Subject: [PATCH] tox: SETUPTOOLS_USE_DISTUTILS=stdlib --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 0bd0b0f..0fb84eb 100644 --- a/tox.ini +++ b/tox.ini @@ -9,10 +9,12 @@ 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 +usedevelop = True +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} -usedevelop = True deps = coverage pytest pytest-freezegun