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:
committed by
GitHub
parent
0582b9718b
commit
2037ef3eac
Executable
+27
@@ -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 ""
|
||||
Reference in New Issue
Block a user