On Fri, 5 Jun 2026 14:04:30 +0700
Alexander Ermakov <[email protected]> wrote:

> Adding a build-depend on pybuild-plugin-pyproject results in the
> following:
> 
> - a public Python module, not private;
> - bin/doh-cli script was not installed, because of this, a dangling
> link was formed in /usr/bin/doh-cli.

You're right, of course. I should really wait for the caffeine to
activate my brain in the morning.

Anyway, both issues with the install locations are the result of
'setup.py install' no longer being called with the arguments
specified in PYBUILD_INSTALL_ARGS.

Instead, the install directory can be set via PYBUILD_INSTALL_DIR,
and the scriptlet moved out of /usr/bin via PYBUILD_AFTER_INSTALL.
See attached d/rules. Unless I'm mistaken, that should do the trick.

Attachment: rules
Description: Binary data

Attachment: pgpCR88SHVF2f.pgp
Description: OpenPGP digital signature

Reply via email to