Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Entrypoints that run post pyproject application and after pyproject read #4416

Open
1 task done
con-f-use opened this issue Jun 9, 2024 · 0 comments
Open
1 task done
Labels
enhancement Needs Triage Issues that need to be evaluated for severity and status.

Comments

@con-f-use
Copy link
Contributor

con-f-use commented Jun 9, 2024

What's the problem this feature will solve?

I'm maintaining a setuptools plugin, interally.

I have found myself mokeypatching setuptools.config.pyprojecttoml.load_file to inject defaults that normally rise an error.
I have also found myself wanting injecting things into the project description part of METADATA file of a wheel with no good way to do it because dynamic readme files seem to handled after anything in project.entry-points."setuptools.finalize_distribution_options

Describe the solution you'd like

Entrypoint that hook into the loading/validation process of the pyproject.tom file and also after the fully loaded and realized pyproject.toml to change dist after that.

Alternative Solutions

No response

Additional context

No response

Code of Conduct

  • I agree to follow the PSF Code of Conduct

Tasks

No tasks being tracked yet.
@con-f-use con-f-use added enhancement Needs Triage Issues that need to be evaluated for severity and status. labels Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Needs Triage Issues that need to be evaluated for severity and status.
Projects
None yet
Development

No branches or pull requests

1 participant