Skip to content

How to define entry points #501

Answered by dnicolodi
daknuett asked this question in Q&A
Sep 21, 2023 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

Entry points are part of the pyproject.toml project metadata specification https://packaging.python.org/en/latest/specifications/declaring-project-metadata/#entry-points meson-python implements that specification. There is nothing special you need to do to use entry points with meson-python other than following the specification. An example of pyproject.toml that defines the the equivalent of console_scripts entry points: https://github.com/beancount/beancount/blob/a91c854ea148cda36eb9ea9e8a82f0cc75d40651/pyproject.toml

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@daknuett
Comment options

@rgommers
Comment options

@daknuett
Comment options

@dnicolodi
Comment options

Answer selected by daknuett
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #500 on September 21, 2023 09:22.