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