[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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




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


Reply to: