Skip to content

Expose command to build package metadata #26

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

Closed
jaraco opened this issue Dec 12, 2018 · 1 comment
Closed

Expose command to build package metadata #26

jaraco opened this issue Dec 12, 2018 · 1 comment

Comments

@jaraco
Copy link
Member

jaraco commented Dec 12, 2018

In pypa/packaging-problems#224 and #19, @Jonast and I are trying to work out how to use PEP 517 to query the package metadata for an unbuilt package. PEP 517 has an interface for prepare_metadata_for_build_wheel and a protocol for falling back to build_wheel to generate that metadata.

This package should present a command that will follow that protocol for producing such metadata from a source checkout, similar to what pep517.check does. It should probably present both as a command, leaving the metadata somewhere on the filesystem, and as an API - returning a path to the generated metadata.

@jaraco
Copy link
Member Author

jaraco commented Dec 12, 2018

In pypa/packaging-problems#226, I propose an extension to the PEP 517 API that would enable tools like this package to build the package metadata and return a data stream or object in memory without having to rely on a file system.

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

No branches or pull requests

1 participant