diff --git a/tox.ini b/tox.ini index d6d71d0..40e0e16 100644 --- a/tox.ini +++ b/tox.ini @@ -61,8 +61,10 @@ passenv = TWINE_PASSWORD TWINE_REPOSITORY deps = twine +allowlist_externals = + rm commands = - rm {toxinidir}/dist/*.gz + rm -f {toxinidir}/dist/*.gz python {toxinidir}/setup.py sdist python -m twine check dist/* publish_test: python -m twine upload {posargs:--repository testpypi} dist/*