Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #16220

Re: dh_python for single python scripts?

From Stefano Rivera <stefanor@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: dh_python for single python scripts?
Date 2024-08-16 09:50 +0200
Message-ID <JbZSF-5mZR-1@gated-at.bofh.it> (permalink)
References <JbTDz-5iSA-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

dh_python for single python scripts? Philippe Cerfon <philcerf@gmail.com> - 2024-08-16 03:10 +0200
  Re: dh_python for single python scripts? Andrey Rakhmatullin <wrar@debian.org> - 2024-08-16 08:10 +0200
  Re: dh_python for single python scripts? Stefano Rivera <stefanor@debian.org> - 2024-08-16 09:50 +0200
    Re: dh_python for single python scripts? Philippe Cerfon <philcerf@gmail.com> - 2024-08-16 18:50 +0200
      Re: dh_python for single python scripts? Philippe Cerfon <philcerf@gmail.com> - 2024-08-16 23:20 +0200
        Re: dh_python for single python scripts? Andrey Rakhmatullin <wrar@debian.org> - 2024-08-17 09:00 +0200

csiph-web