Replies: 1 comment 2 replies
-
I suppose there is no good reason so I would be open to changing the behavior! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The documentation for
force-include
currently states:First off, I really appreciate this is documented! 😃 But I feel it's a bit of an unexpected default/footgun nonetheless. If I explicitly ask hatch to include a particular file, I probably really want that file in the distribution, and it feels weird to silently ignore any typos in the path etc.. Is there a reason why hatch does not emit a warning (or even raise an error) in these cases?
My current use case is that I am compiling some Rust and Swift code in CI, and then copy over the precompiled artifacts into my Python package. It would be wonderful if hatch would warn or error visibily here, manually verifying the wheel contents is a bit cumbersome. I'd be happy to volunteer a PR if the maintainers would welcome such a change. :)
Beta Was this translation helpful? Give feedback.
All reactions