File tree Expand file tree Collapse file tree 2 files changed +7
-19
lines changed
Expand file tree Collapse file tree 2 files changed +7
-19
lines changed Original file line number Diff line number Diff line change @@ -40,29 +40,16 @@ build: install
4040 --noconfirm
4141
4242# Target to create .deb file
43- build-deb : install
44- $(PYINSTALLER ) main.py \
45- --onedir \
46- --exclude pandas \
47- --paths $(shell pwd) \
48- --distpath $(DEBLIB ) \
49- --workpath build/$(shell uname) \
50- --log-level INFO \
51- --exclude numpy \
52- --exclude matplotlib \
53- --exclude PyQt5 \
54- --exclude PyQt6 \
55- --exclude share \
56- --name pytgpt \
57- --contents-directory . \
58- --noconfirm
43+ build-deb :
44+
45+ echo "Version: $(shell pytgpt --version | grep -oP 'version \K[\d.]+')" >> $(DEB)/DEBIAN/control
5946
6047 echo "/usr/lib/pytgpt\n"\
6148 "/usr/bin/pytgpt\n"\
6249 "/usr/share/applications/icons/pytgpt.png\n"\
6350 "/usr/share/applications/pytgpt.desktop" > $(DEBLIB)/pytgpt/entries.txt
6451
65- # cp assets/logo.png $ (DEB)/usr/share/applications/icons/pytgpt.png
52+ echo "Installed-Size: $(shell du -sh -B KB assets/deb | awk '{print $1}')" >> $ (DEB)/DEBIAN/control
6653
6754 dpkg-deb --build -Zxz $(DEB) pytgpt.deb
6855
Original file line number Diff line number Diff line change 11Package: pytgpt
2- Version: 0.3.4
2+ Homepage: http://github.com/Simatwa/python-tgpt
33Section: utils
44Priority: optional
5- Architecture: all
5+ Architecture: amd64
66Maintainer: Smartwa Caleb <
[email protected] >
77Description: An application that uses free LLM providers to generate text.
8+ Depends: libc6 (>= 2.17)
You can’t perform that action at this time.
0 commit comments