mesonbuild / meson-python

Meson PEP 517 Python build backend
https://mesonbuild.com/meson-python/
MIT License
120 stars 59 forks source link

How to define entry points #500

Closed daknuett closed 9 months ago

daknuett commented 9 months ago

The python packaging specifications include entry points, most notably console_scripts for creating executable console scripts from python packages.

Old tools, such as setuptools have the functionality to define entry points. For meson-python, however, I only found a stub in the documentation.

Is there a way to define entry points using meson/meson-python? If yes, are there any pointers on how to use it?