add publish.sh to simplify dealing with PyPI
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -2,4 +2,5 @@
|
|||||||
partdb-labeler.bat
|
partdb-labeler.bat
|
||||||
partdb_labeler.egg-info
|
partdb_labeler.egg-info
|
||||||
build
|
build
|
||||||
*/__pycache__/*
|
*/__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