Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #14748

Re: How do you create entry-points for Python applications?

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Scott Kitterman <debian@kitterman.com>
Newsgroups linux.debian.maint.python
Subject Re: How do you create entry-points for Python applications?
Date Mon, 19 Dec 2022 06:30:01 +0100
Message-ID <FEgSR-bEzJ-5@gated-at.bofh.it> (permalink)
References <FE7mx-byMF-7@gated-at.bofh.it> <FEa14-bAw0-9@gated-at.bofh.it> <FEgJb-bEro-1@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Dec 19 05:26:50 2022
Old-Return-Path <debian@kitterman.com>
X-Amavis-Spam-Status No, score=-5.7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding quoted-printable
X-Mailing-List <debian-python@lists.debian.org> archive/latest/20615
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/A3FE81D0-7EE0-4CBC-A12A-B29F98CD1C7C@kitterman.com
Approved robomod@news.nic.it
Lines 22
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 19 Dec 2022 05:25:53 +0000
X-Original-Message-ID <A3FE81D0-7EE0-4CBC-A12A-B29F98CD1C7C@kitterman.com>
X-Original-References <385ec8ae34ef53f01a86b49c0f15504f@posteo.de> <D98B9DF7-DD0F-499E-A16D-CA85A51249B9@ubuntu.com> <e3d36b800a02b1ddd1d38c3f21b982a5@posteo.de>
Xref csiph.com linux.debian.maint.python:14748

Show key headers only | View raw



On December 19, 2022 5:13:27 AM UTC, c.buhtz@posteo.jp wrote:
>Am 18.12.2022 23:03 schrieb Danial Behzadi دانیال بهزادی:
>> AFAIK Debian helper for Python handles this
>
>;) Yes, but how?
>
>Does it ignore the pip-default-entry-point-scripts? Does it create its own script?
>Do you have to explicit write a script?

You don't.  Pybuild using the pyproject plugin will build a wheel and then install the necessary files in the package using the installer module.  The entry point scripts are in the wheel, just like an upstream built wheel.

Your best bet is to find a package in the archive that's similar and see how it was done.

Scott K

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How do you create entry-points for Python applications? c.buhtz@posteo.jp - 2022-12-18 20:20 +0100
  Re: How do you create entry-points for Python applications? Danial Behzadi دانیال بهزادی <dani.behzi@ubuntu.com> - 2022-12-18 23:10 +0100
    Re: How do you create entry-points for Python  applications? c.buhtz@posteo.jp - 2022-12-19 06:20 +0100
      Re: How do you create entry-points for Python applications? Scott Kitterman <debian@kitterman.com> - 2022-12-19 06:30 +0100
        Re: How do you create entry-points for Python  applications? c.buhtz@posteo.jp - 2022-12-19 07:30 +0100
          Re: How do you create entry-points for Python applications? Scott Kitterman <debian@kitterman.com> - 2022-12-19 08:00 +0100
            Re: How do you create entry-points for Python applications? Danial Behzadi دانیال بهزادی <dani.behzi@ubuntu.com> - 2022-12-19 14:10 +0100
              Re: How do you create entry-points for Python applications? Stuart Prescott <stuart@debian.org> - 2022-12-20 01:10 +0100
  Re: How do you create entry-points for Python applications? Andrey Rahmatullin <wrar@debian.org> - 2022-12-19 14:40 +0100

csiph-web