Skip to content

Commit 25c0773

Browse files
committed
Add publish_to_pypi.sh
1 parent 0503774 commit 25c0773

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
# Clean up old distribution and build directories
4+
rm -rf dist/
5+
rm -rf build/
6+
7+
# Generate distribution archives
8+
python setup.py sdist bdist_wheel
9+
10+
# Upload the distribution archives to PyPi
11+
twine upload dist/*

0 commit comments

Comments
 (0)