add publish.sh to simplify dealing with PyPI
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,3 +3,4 @@ partdb-labeler.bat
|
||||
partdb_labeler.egg-info
|
||||
build
|
||||
*/__pycache__/*
|
||||
dist
|
||||
|
||||
6
publish.sh
Normal file
6
publish.sh
Normal 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/*
|
||||
Reference in New Issue
Block a user