Path: csiph.com!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod From: c.buhtz@posteo.jp Newsgroups: linux.debian.maint.python Subject: Re: How do you create entry-points for Python =?UTF-8?Q?applications=3F?= Date: Mon, 19 Dec 2022 07:30:01 +0100 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Mon Dec 19 06:28:12 2022 Old-Return-Path: X-Amavis-Spam-Status: No, score=-9.501 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, LDO_WHITELIST=-5, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5.5 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mail-Followup-To: debian-python@lists.debian.org X-Mailing-List: archive/latest/20616 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/0b3389c79879f9ed7172cd1bac539406@posteo.de Approved: robomod@news.nic.it Lines: 21 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 19 Dec 2022 06:27:55 +0000 X-Original-Message-ID: <0b3389c79879f9ed7172cd1bac539406@posteo.de> X-Original-References: <385ec8ae34ef53f01a86b49c0f15504f@posteo.de> Xref: csiph.com linux.debian.maint.python:14749 Dear Scott, thanks for the reply. Am 19.12.2022 06:25 schrieb Scott Kitterman: > 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. Do I get that correct? The entry scripts (their content and their location) is the same installing a package via pip and apt? In that case I'm right trying to make the "pip install" process as correct as possible to save resources for the distro maintainers. > Your best bet is to find a package in the archive that's similar and > see how it was done. That is why I'm asking here. ;)