Fix minor issues after release (#2310)

This commit is contained in:
Veronica Berglyd Olsen
2025-04-20 23:12:07 +02:00
committed by GitHub
2 changed files with 10 additions and 6 deletions
+1 -2
View File
@@ -49,8 +49,7 @@ careful when using this version on live writing projects, and make sure you take
* The move to Qt6 is complete, and the new minimum requirement is Qt 6.4. Issues #864, #1142, * The move to Qt6 is complete, and the new minimum requirement is Qt 6.4. Issues #864, #1142,
#2192, #2193, #2194 and #2195. PRs #2184, #2187, #2190, #2191, #2196, #2204, #2301 and #2306. #2192, #2193, #2194 and #2195. PRs #2184, #2187, #2190, #2191, #2196, #2204, #2301 and #2306.
* Support for Python 3.9 has been dropped. Due to the Qt6 change, older distros are no longer * Support for Python 3.9 has been dropped. Due to the Qt6 change, older distros are no longer
supported. The oldest Ubuntu release still supported is 22.04, which comes with Python 3.10. supported. The oldest Ubuntu release still supported is 24.04. PR #2182.
PR #2182.
* The Windows release now uses a custom novelWriter.exe launcher rather than calling the Python exe * The Windows release now uses a custom novelWriter.exe launcher rather than calling the Python exe
directly with novelWriter.pyw as an argument. This means novelWriter can also be launched from directly with novelWriter.pyw as an argument. This means novelWriter can also be launched from
its install folder, and desktop shortcuts created directly. It also simplifies the registry its install folder, and desktop shortcuts created directly. It also simplifies the registry
+9 -4
View File
@@ -9,7 +9,7 @@ if [ ! -f pkgutils.py ]; then
fi fi
echo "" echo ""
echo " Building Dependencies" echo " Create Python Env"
echo "================================================================================" echo "================================================================================"
echo "" echo ""
@@ -17,9 +17,13 @@ if [ ! -d $ENVPATH ]; then
python3 -m venv $ENVPATH python3 -m venv $ENVPATH
fi fi
source $ENVPATH/bin/activate source $ENVPATH/bin/activate
pip3 install -r requirements.txt -r docs/requirements.txt pip3 install -U build twine -r requirements.txt -r docs/requirements.txt
echo ""
echo " Building Dependencies"
echo "================================================================================"
echo ""
python3 pkgutils.py build-assets python3 pkgutils.py build-assets
deactivate
echo "" echo ""
echo " Building Packages" echo " Building Packages"
@@ -27,7 +31,7 @@ echo "==========================================================================
echo "" echo ""
python3 -m build python3 -m build
mkdir -pv dist_upload mkdir -pv dist_upload
cp -v dist/novelWriter-*.whl dist_upload/ cp -v dist/novelwriter-*.whl dist_upload/
cd dist_upload cd dist_upload
FILE=$(ls -t | head -1) FILE=$(ls -t | head -1)
shasum -a 256 $FILE | tee $FILE.sha256 shasum -a 256 $FILE | tee $FILE.sha256
@@ -38,6 +42,7 @@ echo " Checking Packages"
echo "================================================================================" echo "================================================================================"
echo "" echo ""
twine check dist/* twine check dist/*
deactivate
echo "" echo ""
echo " Done!" echo " Done!"