-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Get version from an entrypoint #109
Comments
I understand it now better than I did in Discord! :) A scriv-specific entrypoint seems esoteric to me, I'm not sure many tools would implement one. Running a command would let individual adopters plug tools together without the other tool needing to provide a scriv endpoint. But is it safe to have a config file in your repo with |
the ux would be better than having a personally i'd prefer a entrypoint or actually using build i recently learned that build has a entrypoint to get the project metadata, so perhaps it wouldbe a acceptable comprmise to ask build as opposed to all/random tools |
I realized that a shell command in a scriv setting is no worse than a Makefile or tox.ini full of shell commands, or any other way we have to automate local execution. But tell me more about using build. What's the invocation, and what would that look like? |
https://pypa-build.readthedocs.io/en/latest/api.html#build.util.project_wheel_metadata is the api I believe ought to be used Once I'm back to the computer I can do a example call |
I added |
|
From a discussion in Discord with @RonnyPfannschmidt:
The text was updated successfully, but these errors were encountered: