Split up setup.py and move packaging tools to new script

This commit is contained in:
Veronica Berglyd Olsen
2023-07-26 19:28:34 +02:00
parent a6c0152a68
commit 02312054fb
15 changed files with 2088 additions and 2146 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
#!/bin/bash
set -e
if [ ! -f setup.py ]; then
if [ ! -f pkgutils.py ]; then
echo "Must be called from the root folder of the source"
exit 1
fi
@@ -10,7 +10,7 @@ echo ""
echo " Building Packages"
echo "================================================================================"
echo ""
python3 setup.py qtlrelease manual sample
python3 pkgutils.py qtlrelease manual sample
python3 -m build
mkdir -pv dist_upload
cp -v dist/novelWriter-*.whl dist_upload/