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


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

Re: pybuild and optional dependencies

From Stefano Rivera <stefanor@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: pybuild and optional dependencies
Date 2023-12-24 14:00 +0100
Message-ID <HOwff-fOp6-3@gated-at.bofh.it> (permalink)
References <HMiJr-eokf-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi PICCA (2023.12.18_09:41:52_+0000)

> When I compile the package, I got the dh_python3 computed runtime dependencies from the install_requires.
> 
> Now I would like to build this package but with the larix optional dependencies.
> 
> so I added all the dependencies in the Build-Depends, but dh_python3 still produce the previous dependencies.
> 
> How can I teach pybuild  that I really want xraylarch[larix] ?

This is really a dh_python3 question, it generates the dependencies.
Pass --depends-section=larix (or recommends/suggests as appropriate).

Stefano

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

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


Thread

pybuild and optional dependencies PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2023-12-18 11:10 +0100
  Re: pybuild and optional dependencies Stefano Rivera <stefanor@debian.org> - 2023-12-24 14:00 +0100

csiph-web