From a06856a9a3e0a01b469dc66d0ed8474711a4b5d9 Mon Sep 17 00:00:00 2001 From: Delta Regeer Date: Tue, 13 Aug 2024 22:33:46 -0600 Subject: [PATCH] Build the latest version from tox --- tox.ini | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 +