completly finished build and upload for PyPI which actually works

This commit is contained in:
Lars Noack
2022-11-15 09:14:48 +01:00
parent 5ff2ec5219
commit 28b8994965
15 changed files with 249 additions and 31 deletions

View File

@@ -1,17 +0,0 @@
# https://packaging.python.org/en/latest/tutorials/packaging-projects/
cd ../src
cp ../README.md README.md
echo "building......"
python3 -m pip install --upgrade build
python3 -m build
echo "cleaning up......."
rm README.md
cd ../build
rm -rf dist
mv ../src/dist .
echo "uploading......."
# python3 -m pip install --upgrade twine
twine upload dist/*