figure out .deb files for real haha totally this time

develop
knotteye 3 years ago
parent ab57a11a25
commit edd5d87477
  1. 9
      Makefile
  2. 2
      deb.patch

@ -10,11 +10,18 @@ all: default pack
systemlibs: systemlibtarget pack
dpkg: debtarget pack dpkg-build
windows: wtarget wpack
default:
python3 -m nuitka --follow-imports --file-reference-choice=runtime --include-module=certifi --include-module=keyring.backends.kwallet --include-module=keyring.backends.chainer --enable-plugin=qt-plugins --include-qt-plugins=all --python-flag=-O -o plchat plchat.py
debtarget:
cat deb.patch > plchatdeb.py
cat plchat.py >> plchatdeb.py
python3 -m nuitka --follow-imports --file-reference-choice=runtime --nofollow-import-to=certifi --include-module=keyring.backends.kwallet --include-module=keyring.backends.chainer --enable-plugin=qt-plugins --include-qt-plugins=all --python-flag=-O -o plchat plchatdeb.py
systemlibtarget:
python3 -m nuitka --file-reference-choice=runtime --nofollow-imports --follow-import-to=misc --follow-import-to=monkeypatch --follow-import-to=pleroma --follow-import-to=timeconvert --follow-import-to=videowidget --follow-import-to=audiowidget --python-flag=-O -o plchat plchat.py
@ -39,7 +46,7 @@ pack:
cp LICENSE dist
cp COPYING dist
dpkg:
dpkg-build:
mkdir -p deb/usr/lib
mv dist deb/usr/lib/plchat
dpkg --build deb

@ -0,0 +1,2 @@
import sys
sys.path.insert(1, '/usr/lib/plchat/venv/lib/python3.8/site-packages')
Loading…
Cancel
Save