Update Debian build
This commit is contained in:
@@ -4,6 +4,8 @@ Section: text
|
||||
Priority: optional
|
||||
Build-Depends:
|
||||
dh-python,
|
||||
pybuild-plugin-pyproject,
|
||||
python3-build,
|
||||
python3-setuptools,
|
||||
python3-all,
|
||||
debhelper (>= 9),
|
||||
|
||||
+4
-12
@@ -1,8 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
ENVPATH=/tmp/nwBuild
|
||||
|
||||
if [ ! -f pkgutils.py ]; then
|
||||
echo "Must be called from the root folder of the source"
|
||||
exit 1
|
||||
@@ -12,18 +10,12 @@ echo ""
|
||||
echo " Building Dependencies"
|
||||
echo "================================================================================"
|
||||
echo ""
|
||||
if [ ! -d $ENVPATH ]; then
|
||||
python3 -m venv $ENVPATH
|
||||
fi
|
||||
source $ENVPATH/bin/activate
|
||||
pip3 install -r requirements.txt -r docs/requirements.txt
|
||||
python3 pkgutils.py build-assets
|
||||
python3 pkgutils.py icons optional
|
||||
deactivate
|
||||
uv run pkgutils.py build-assets
|
||||
uv run pkgutils.py icons optional
|
||||
|
||||
echo ""
|
||||
echo " Building Linux Packages"
|
||||
echo "================================================================================"
|
||||
echo ""
|
||||
python3 pkgutils.py build-deb --sign
|
||||
python3 pkgutils.py build-ubuntu --sign
|
||||
uv run pkgutils.py build-deb --sign
|
||||
uv run pkgutils.py build-ubuntu --sign
|
||||
|
||||
Reference in New Issue
Block a user