Packaging Python Applications for Debian | Snakes on Callisto
Packaging Python Applications for Debian | Snakes on Callisto
Easily deploy any Python application in form of an ‘omnibus’ Debian package using dh-virtualenv.
https://jhermann.github.io/blog/python/devops/2020/03/28/dh_virtualenv_howto.html
I've used this method but the resulting deb package is not working in other machines with different python3 version. I've built it using python 3.7 and now the application has a lib/python3.7 after installation, and it's not working with python 3.8. Is there something I missed?
Debian packages are bound to a release, thus you missed you have to build this for every distro and release specifically. Using docker, this is reasonably easy to do with a bash for loop.