-
Notifications
You must be signed in to change notification settings - Fork 133
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
Ability to write Requires-External metadata #353
Comments
My initial inclination is to say it's out of scope - I'm not aware of any tools that consume it, and for telling humans about external requirements, I think you're better off describing them in free text in the description. But feel free to make a case for it - maybe there's some reason to use it that I'm not aware of. Be aware that the only public interfaces to Flit are the PEP 517 API ( |
Since |
@takluyver I was planning on using it to specify Javascript dependencies that need to be installed (e.g. for a Jupyter widget) that would be consumed by a downstream installer. So instead of having to run:
You could simply run:
Where Admittedly though this is a niche use case, and as much as I wish this could be added, it looks like |
If this field isn't natively supported by
# on __enter__ prepare build files normally
with flit_core.use_wheel_build() as build_dir:
# user has access to all prepared files just before the wheel is built
...
# on __exit__ build the wheel file using files from build_dir
|
@takluyver thoughts on the PR by @bpabel? Alternatively, the above API suggestion doesn't really expose any internal functionality, just the temporary directory |
@takluyver any further thoughts on this issue and corresponding PR? |
This may be out of scope for the project, but I'd like to be able to write to the
Requires-External
field of the packageMETADATA
. If this isn't a feature that can be provided out of the box, I was already planning to wrapflit_core
, so if there's at least some sanctioned way to overwrite the internal behavior ofMetadata.write_metadata_file
or some other behavior ofcommon.*
functions that would be great.The text was updated successfully, but these errors were encountered: