add publish.sh to simplify dealing with PyPI

This commit is contained in:
2025-06-12 10:20:47 -07:00
parent 0aa17bfd40
commit 84149f75cf
2 changed files with 8 additions and 1 deletions

1
.gitignore vendored
View File

@@ -3,3 +3,4 @@ partdb-labeler.bat
partdb_labeler.egg-info
build
*/__pycache__/*
dist

6
publish.sh Normal file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
# publish to PyPI
rm -r dist || true
python setup.py sdist bdist_wheel
twine upload dist/*