From: Jeremy Stanley Date: Sat, 17 Apr 2021 15:47:18 +0000 (+0000) Subject: Make dist checking directory-agnostic X-Git-Tag: 0.4.0~4 X-Git-Url: https://mudpy.org/gitweb?a=commitdiff_plain;h=8c920b5c4b87fd8b54fd566c462c47f9e7f47693;p=mudpy.git Make dist checking directory-agnostic Use the toxindir replacement macro in tox.ini to properly anchor the base directory for dist building and checking. This ensures it will run successfully even if the current working directory is not the top level directory of the source tree. --- diff --git a/tox.ini b/tox.ini index 7c88da9..f9074fa 100644 --- a/tox.ini +++ b/tox.ini @@ -55,9 +55,9 @@ deps = twine wheel commands = - rm -fr dist + rm -fr {toxinidir}/dist python setup.py bdist_wheel sdist - twine check --strict dist/* + twine check --strict {toxinidir}/dist/* usedevelop = False [testenv:docs]