Setup fixes and tweaks (#879)

* Fix transparency on some of the icons
* Rewrite the setup clean command
* Clean up setup script and remove no longer needed qthelp command
* Add bash scripts for common make build chains
* Update the description files and change how setup writes generated files
* Reduce the number of setup files added to minimal zip packages
This commit is contained in:
Veronica Berglyd Olsen
2021-09-01 23:41:38 +02:00
committed by GitHub
parent 0582b9718b
commit 2037ef3eac
23 changed files with 193 additions and 225 deletions
+27
View File
@@ -0,0 +1,27 @@
#!/bin/bash
set -e
if [ ! -f setup.py ]; then
echo "Must be called from the root folder of the source"
exit 1
fi
echo ""
echo " Building Packages"
echo "================================================================================"
echo ""
python3 setup.py sdist bdist_wheel
echo ""
echo " Checking Packages"
echo "================================================================================"
echo ""
twine check dist/*
echo ""
echo " Done!"
echo "================================================================================"
echo ""
echo " To upload packages to PyPi, run:"
echo " twine upload Source/dist/*"
echo ""