Fix debian package generation to include subdirectories#567
Fix debian package generation to include subdirectories#567civerachb-cpr wants to merge 2 commits intocanopen-python:masterfrom
Conversation
…nd to create the debian package
|
Thanks for your contribution and for trying to improve the Debian package generation. I don't think we want to proliferate stuff in Building the package by itself should be left to the PyPA build helper: |
|
Using debian as the main distro on many embedded devices, here is my take: avoid debian packages for python at all. use instead a virtual env and be just happy. create the venv yourself or use pipx because if you don't there is no simple way to create a fully compatible debian package. Although it would look kind of evil to remove the current setup.py and makedeb files, this is the direction I would take. |
The existing .deb generation does not include subdirectories, resulting in missing modules:
makedebintosetup.pyas parameterspython3 setup.py --command-packages=stdeb.command bdist_debTested on Ubuntu 24.04; resulting debian file now includes the missing folders (see screenshot above)