diff --git a/setup/make_pip.sh b/setup/make_pip.sh index eaf03d52..25da2237 100755 --- a/setup/make_pip.sh +++ b/setup/make_pip.sh @@ -9,7 +9,7 @@ if [ ! -f pkgutils.py ]; then fi echo "" -echo " Building Dependencies" +echo " Create Python Env" echo "================================================================================" echo "" @@ -17,9 +17,13 @@ if [ ! -d $ENVPATH ]; then python3 -m venv $ENVPATH fi 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 -deactivate echo "" echo " Building Packages" @@ -27,7 +31,7 @@ echo "========================================================================== echo "" python3 -m build mkdir -pv dist_upload -cp -v dist/novelWriter-*.whl dist_upload/ +cp -v dist/novelwriter-*.whl dist_upload/ cd dist_upload FILE=$(ls -t | head -1) shasum -a 256 $FILE | tee $FILE.sha256 @@ -38,6 +42,7 @@ echo " Checking Packages" echo "================================================================================" echo "" twine check dist/* +deactivate echo "" echo " Done!"