-
The python packaging specifications include entry points, most notably Old tools, such as Is there a way to define entry points using meson/meson-python? If yes, are there any pointers on how to use it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Entry points are part of the |
Beta Was this translation helpful? Give feedback.
Entry points are part of the
pyproject.toml
project metadata specification https://packaging.python.org/en/latest/specifications/declaring-project-metadata/#entry-pointsmeson-python
implements that specification. There is nothing special you need to do to use entry points withmeson-python
other than following the specification. An example ofpyproject.toml
that defines the the equivalent ofconsole_scripts
entry points: https://github.com/beancount/beancount/blob/a91c854ea148cda36eb9ea9e8a82f0cc75d40651/pyproject.toml