From cea4d57332051ed7967bf5187f08001a903da98e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Thu, 13 Jun 2024 23:27:17 +0200 Subject: [PATCH] liccheck needs pkg_resources but does not declare it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- {{ cookiecutter.slug }}/tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/{{ cookiecutter.slug }}/tox.ini b/{{ cookiecutter.slug }}/tox.ini index 614dfe7..b4dd03c 100644 --- a/{{ cookiecutter.slug }}/tox.ini +++ b/{{ cookiecutter.slug }}/tox.ini @@ -39,6 +39,10 @@ allowlist_externals = commands = pre-commit run --all-files [testenv:licenses] +# liccheck needs pkg_resources but does not declare it +commands_pre = + {[testenv]commands_pre} + poetry run pip install setuptools commands = poetry run devel/run-liccheck.sh