diff --git a/tox.ini b/tox.ini index afeb9740..8afe19dc 100644 --- a/tox.ini +++ b/tox.ini @@ -50,3 +50,21 @@ commands = deps = flake8 +[testenv:build] +skip_install = true +commands = + # clean up build/ and dist/ folders + python -c 'import shutil; shutil.rmtree("build", ignore_errors=True)' + # Make sure we aren't forgetting anything + check-manifest + # build sdist/wheel + python -m build . + # Verify all is well + twine check dist/* + +deps = + build + check-manifest + readme_renderer + twine +