Skip to content

hatchling metadata hook support#42

Draft
alexrashed wants to merge 1 commit intohatchling-supportfrom
add-hatchling-metadata-plugin
Draft

hatchling metadata hook support#42
alexrashed wants to merge 1 commit intohatchling-supportfrom
add-hatchling-metadata-plugin

Conversation

@alexrashed
Copy link
Member

Motivation

#35 adds support for Hatchling as a build backend for the automatic discovery of plugins and to populate the plux.ini.
However, in contrast to setuptools, hatchling does not natively support fetching the entry-points from an external file. Instead hatchling provides an explicit "metadata hook" to allow simply dynamically modifying the project metadata.
This PR extends #35 by adding an explicit PluxMetadataHook which takes care of populating the entrypoints of the project with the plux.ini file.

Changes

  • Extends the hatchling integration in plux.build.hatchling with a simple PluxMetadataHook.

TODO

  • Modify the README.md

@alexrashed alexrashed requested a review from dfangl February 5, 2026 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant