blog icon indicating copy to clipboard operation
blog copied to clipboard

Packaging Python Applications for Debian | Snakes on Callisto

Open utterances-bot opened this issue 4 years ago • 2 comments

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

utterances-bot avatar May 04 '21 12:05 utterances-bot

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?

mahshiv avatar May 04 '21 12:05 mahshiv

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.

jhermann avatar Jul 31 '21 21:07 jhermann