-
| 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.tomlproject metadata specification https://packaging.python.org/en/latest/specifications/declaring-project-metadata/#entry-pointsmeson-pythonimplements that specification. There is nothing special you need to do to use entry points withmeson-pythonother than following the specification. An example ofpyproject.tomlthat defines the the equivalent ofconsole_scriptsentry points: https://github.com/beancount/beancount/blob/a91c854ea148cda36eb9ea9e8a82f0cc75d40651/pyproject.toml