This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
proj:deb [2019/06/15 19:41] admin |
proj:deb [2020/09/08 20:08] (current) 114.23.208.115 [An Alternative - stdeb] |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| ====== Notes on Debian Packaging ====== | ====== Notes on Debian Packaging ====== | ||
| + | |||
| + | ===== An Alternative - stdeb ===== | ||
| + | |||
| + | Hi everyone | ||
| + | | ||
| + | Some time ago, I gave a talk about the "fpm" package manager a while back. | ||
| + | Today, I came across a different tool, which is also available from | ||
| + | the Ubuntu repositories called "stdeb": | ||
| + | https://github.com/astraw/stdeb | ||
| + | | ||
| + | I successfully generated a Debian package for one of my little Python utilities: | ||
| + | https://github.com/waikato-datamining/docker-banner-gen/releases/tag/v.0.0.6 | ||
| + | | ||
| + | Just by using this command-line (using the "setup.py" of the project): | ||
| + | python3 setup.py --command-packages=stdeb.command bdist_deb | ||
| + | | ||
| + | Requires "python3-all" to be installed. | ||
| + | | ||
| + | Thought you might find this useful. | ||
| + | | ||
| + | Cheers, Peter | ||
| + | -- | ||
| + | Peter Reutemann | ||
| + | Dept. of Computer Science | ||
| + | University of Waikato, NZ | ||
| + | +64 (7) 858-5174 | ||
| + | |||
| + | Thanks to the following stackoverflow post I figured out how to | ||
| + | include a .desktop file and icon, making an application appear in the | ||
| + | main menu: | ||
| + | https://stackoverflow.com/a/17402676/4698227 | ||
| + | | ||
| + | Example code mentioned in that post is available from here: | ||
| + | https://github.com/cpbotha/stdeb-minimal-example | ||
| ===== Step by Step ===== | ===== Step by Step ===== | ||