2037ef3eac
* 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
28 lines
641 B
Bash
Executable File
28 lines
641 B
Bash
Executable File
#!/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 ""
|