Re: dh_python for single python scripts?
Hi Philippe (2024.08.16_00:52:25_+0000)
>
> Now I do have some standalone python scripts for which it makes not
> much sense to make them (Python) packages (i.e. there's no
> __init__.py, etc.), yet I'd still like to have stuff like
> automatically getting the right Debian package dependencies in a
> Debian package.
>
> Is that even intended to work with dh_python?
dh_python doesn't care what form your python package is in. It just
looks for the metadata in .dist-info / .egg-info.
So, if your package declares dependencies in in the packaging, and
installs correctly with python3-build, it'll work.
Stefano
--
Stefano Rivera
http://tumbleweed.org.za/
+1 415 683 3272
Reply to: