Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #14919
| From | Philippe Cerfon <philcerf@gmail.com> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | can one change the path of generated entry point console_scripts |
| Date | 2023-02-14 01:40 +0100 |
| Message-ID | <FYRwu-5FJd-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hey. 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/)? I tried to look it up in other Debian source packages, but all that I checked and which contain Python scripts in non-/usr/bin locations simply put a real file there, and not such a auto-generated one. Thanks, Philippe.
Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread
can one change the path of generated entry point console_scripts Philippe Cerfon <philcerf@gmail.com> - 2023-02-14 01:40 +0100
Re: can one change the path of generated entry point console_scripts Stefano Rivera <stefanor@debian.org> - 2023-02-15 17:40 +0100
Re: can one change the path of generated entry point console_scripts Philippe Cerfon <philcerf@gmail.com> - 2023-02-17 03:10 +0100
Re: can one change the path of generated entry point console_scripts Andrey Rakhmatullin <wrar@wrar.name> - 2023-02-17 10:00 +0100
csiph-web