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

2022-12-19 Thread Stuart Prescott
On 20/12/2022 00:09, Danial Behzadi دانیال بهزادی wrote: > The only package I maintain that I can think of at the moment with entrypoints and project.toml is too complicated to be a good example. That shouldn't be so much different from setup.py projects and there are plenty of them in

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

2022-12-19 Thread Andrey Rahmatullin
On Sun, Dec 18, 2022 at 07:18:44PM +, c.bu...@posteo.jp wrote: > Hello, > a python application isn't a binary but a script. So to invoke such an > application there need to be a shell script somewhere in PATH that invoke > that script via python3 interpreter. Imagine an application with a GUI

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

2022-12-19 Thread Danial Behzadi دانیال بهزادی
> The only package I maintain that I can think of at the moment with > entrypoints and project.toml is too complicated to be a good example. That shouldn't be so much different from setup.py projects and there are plenty of them in archive.

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

2022-12-18 Thread Scott Kitterman
On December 19, 2022 6:27:55 AM UTC, c.bu...@posteo.jp wrote: >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

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

2022-12-18 Thread c . buhtz
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.

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

2022-12-18 Thread Scott Kitterman
On December 19, 2022 5:13:27 AM UTC, c.bu...@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

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

2022-12-18 Thread c . buhtz
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?

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

2022-12-18 Thread Danial Behzadi دانیال بهزادی
AFAIK Debian helper for Python handles this در 18 دسامبر 2022 19:18:44 (UTC)، c.bu...@posteo.jp نوشت: >Hello, >a python application isn't a binary but a script. So to invoke such an >application there need to be a shell script somewhere in PATH that invoke that >script via python3 interpreter.

How do you create entry-points for Python applications?

2022-12-18 Thread c . buhtz
Hello, a python application isn't a binary but a script. So to invoke such an application there need to be a shell script somewhere in PATH that invoke that script via python3 interpreter. Imagine an application with a GUI (qt, tikinter, gtk, ...). On the upstream site modern python projects