Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #14919
| Path | csiph.com!1.us.feeder.erje.net!3.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | Philippe Cerfon <philcerf@gmail.com> |
| Newsgroups | linux.debian.maint.python |
| Subject | can one change the path of generated entry point console_scripts |
| Date | Tue, 14 Feb 2023 01:40:02 +0100 |
| Message-ID | <FYRwu-5FJd-3@gated-at.bofh.it> (permalink) |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Tue Feb 14 00:30:12 2023 |
| Old-Return-Path | <philcerf@gmail.com> |
| X-Amavis-Spam-Status | No, score=-1.199 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MONOTONE_WORDS_2_15=1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no |
| X-Policyd-Weight | NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-pf1-x436.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 |
| X-Gm-Message-State | AO0yUKVWurdCBwSnxSsw1x3rVG7Mrbxt/cnxybCpPaO9OhdzC1PfxqJl MkeS/yUZeMnUK7iEKzt7UGONGd8ZJa3a3DqQxkEYmJ9u |
| X-Google-SMTP-Source | AK7set/SEgDPG3EqrC3pZntztWHUR0KG1C9qhSq8LONyQDGm4w9cHmg5xduoUa7cNhVtz1w4I6fJyn9L0mFNUGZKazw= |
| X-Received | by 2002:aa7:9422:0:b0:5a8:b52d:5a5a with SMTP id y2-20020aa79422000000b005a8b52d5a5amr67885pfo.24.1676333599000; Mon, 13 Feb 2023 16:13:19 -0800 (PST) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/20818 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/CAN+za=MAPZSo3GXrMMVKG=X3Smo_SGM0VDCWT2pLyQdjnObJwg@mail.gmail.com |
| Approved | robomod@news.nic.it |
| Lines | 20 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Tue, 14 Feb 2023 01:13:08 +0100 |
| X-Original-Message-ID | <CAN+za=MAPZSo3GXrMMVKG=X3Smo_SGM0VDCWT2pLyQdjnObJwg@mail.gmail.com> |
| Xref | csiph.com linux.debian.maint.python:14919 |
Show key headers only | View raw
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