Skip to content

Commit

Permalink
Build the latest version from tox
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalresistor committed Aug 14, 2024
1 parent 819f43c commit a06856a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a06856a

Please sign in to comment.