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 ..
I want to build a debian package for my python module. I use the build system poetry. But pybuild doesn’t know poetry. So I want to use a custom build system, like mentioned here. #!/usr/bin/make -f export DH_VERBOSE=1 export PYBUILD_NAME=foo export PYBUILD_SYSTEM=custom export PYBUILD_CLEAN_ARGS= %: dh [email protected] –with python3 –buildsystem=pybuild override_dh_auto_build: poetry build override_dh_auto_install: poetry ..
I tried to create a debian package from my python project using stdeb, which failed because it did not support custom changelogs. Because of that I tried to do it myself with a little shell script, which i.a. executes: python3 setup.py install –install-layout=deb –no-compile –single-version-externally-managed –root="$package" The script is able to create a debian package ..
I’m trying to make a deb package for my cli program written in python3 with help of the click library. I used vdist for making deb package, but after installing the deb package and running it, I got this error: … File "/opt/s-cli/lib/python3.6/site-packages/sotoon-0.0.1-py3.6.egg/s/output_format.py", line 27, in __init__ File "/opt/s-cli/lib/python3.6/site-packages/click-8.0.0a1-py3.6.egg/click/core.py", line 2199, in __init__ super().__init__(param_decls, type=type, ..