When I use dh-python to build a package that contains a pyproject.toml
and uses python3-setuptools for building like e.g. described here https://setuptools.pypa.io/en/latest/userguide/entry_point.html
and I use that entry point feature to have a script auto-generated
that calls my main():[project.scripts]
somescript = "package:main"
is it possible to change the path were that script is finally put it
the package (i.e. not ./usr/bin/)?
Just move it somewhere else later in the build? e.g. after dh_install.
Hey StefanoThat's not what "move it [...] after dh_install" means, it usually means a manual mv call.
On Wed, Feb 15, 2023 at 5:37 PM Stefano Rivera <stefanor@debian.org> wrote:
Just move it somewhere else later in the build? e.g. after dh_install.
I had tried that before, with a debian/mypackage.install file but got
an error that it doesn't find the file.Yes, .install is not for moving files between directories inside a
Then I realized that I cannot use e.g.:
usr/bin/script usr/sbin/
but have to use:I don't think this is a good idea.
debian/mypackage/usr/bin/script usr/sbin/
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 349 |
Nodes: | 16 (3 / 13) |
Uptime: | 107:10:35 |
Calls: | 7,612 |
Calls today: | 3 |
Files: | 12,786 |
Messages: | 5,683,000 |
Posted today: | 2 |