Skip to content

Commit e9db661

Browse files
committed
DEV: Add tox workflow to create release artifacts
1 parent bfd9202 commit e9db661

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tox.ini

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,13 @@ deps = twine
9292
commands =
9393
python -m twine check dist/*
9494
python -m twine upload {posargs:--repository {env:TWINE_REPOSITORY:testpypi}} dist/*
95+
96+
[testenv:build_dist]
97+
description =
98+
Create a zip archive of the package for easier download
99+
skip_install = True
100+
changedie = {toxinidir}
101+
deps = build
102+
commands =
103+
python -m build .
104+
python -m zipapp -o dist/check_python_h_first.pyz src -m check_python_h_first.__main__:main

0 commit comments

Comments
 (0)