Category : deb

I want to build a debian-based deb package for a python module and get a ModuleNotFoundError, if I call it with the terminal. I created a minimal example. Direktory structure: hello – debian – control – rules – hello – main.py – setup.py rules: #!/usr/bin/make -f export DH_VERBOSE=1 export PYBUILD_NAME=hello %: dh [email protected] –with python3 ..

Read more

we need to build the python interpreter from source with fixed versions of dependency libraries. All our dependencies are distributed to our systems as deb-packages. We are compiling for i386 and armv7. Now i am searching for a way to package a python interpreter as deb package, which contains everything necessary to run scripts. I ..

Read more

I’m trying to build a debian package from my python project using dh_virtualenv (https://github.com/spotify/dh-virtualenv) I followed this step by step guide with a few modifications: https://camilomatajira.wordpress.com/2020/06/13/how-to-create-a-python-debian-package-with-dh-virtualenv/ I create a Dockerfile, but I add pyenv to it and install python 3.8.10. In the cookiecutter template I set the SNAKE variable to "python3" which gets resolved by ..

Read more

I am using stdeb to package Telethon. I would (eventually) like to add it to Debian’s repositories. This is the error that I’m getting: python3 setup.py –command-packages=stdeb.command bdist_deb … copying telethon/tl/types/updates.py -> Telethon-1.21.1/telethon/tl/types copying telethon/tl/types/upload.py -> Telethon-1.21.1/telethon/tl/types Writing Telethon-1.21.1/setup.cfg Creating tar archive removing ‘Telethon-1.21.1’ (and everything under it) dpkg-buildpackage: info: source package telethon dpkg-buildpackage: info: ..

Read more