-
Notifications
You must be signed in to change notification settings - Fork 54
Where are the replacements? #175
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
Comments
I think build.util.project_wheel_metadata() does this. Or if you want to get the metadata folder and read other files from that, build.ProjectBuilder.metadata_path(). |
One of the quality of life features of I was able to patch Looks like the only other place I used Thanks! |
The |
The problem with metadata_path is that it requires the user to supply an output directory and manage the lifecycle of it. It's not clear from the docs if that directory needs to exist or be created. The meta.load took responsibility for managing the lifecycle of that directory and gave the caller an object in memory that was managed implicitly by garbage collection. The caller was insulated from the implementation details. |
That's true. In any case, it seems like build's functionality is pretty close to what you want, so if you want a different API for it, that would be the place to add it. 🙂 |
When this project was renamed to pyproject-hooks, it removed the "get metadata for an unbuilt package" functionality (
pep517.meta.load()
). I looked atbuild
andpython-pyproject-metadata
but they don't seem to do what I need.I can't just keep using
pep517
because of #174.Is there a replacement for the functionality added in #48?
The text was updated successfully, but these errors were encountered: