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
[Hatchling] Interpolate variable version
in section tool.hatch.build.targets.wheel.force-include
somehow?
#1408
Comments
distribution
and version
in section tool.hatch.build.targets.wheel.force-include
somehow?version
in section tool.hatch.build.targets.wheel.force-include
somehow?
Hey there!
|
Hi @ofek, thanks a lot for your reply and help! Thanks for that pointer! I first copied from there, expected to see failure, and then found that the feature is indeed working and just what I was looking for — awesome! — , but ignoring errors silently (which seems like a dangerous default, e.g. because every typo leads to a missing file in the archive). I have created upstream pull request https://gitlab.com/latex-rubber/rubber/-/merge_requests/36/diffs now applying your idea.
That's good to know.
With the situation changed now, I think it would be great if
What do you think? |
Hello Hatch, 👋
thanks for sharing this PEP 517 backend and adding custom hooks to it! 🙏
In context of a non-trivial conversion towards
pyproject.toml
with Hatchling I've been trying to make a wheel install man pages to where Linux distros would expect them, and technically it seems I succeeded judging by the wheel content……but the way I got there makes me keep wondering:
<distribution>-<version>.data/data/
is as underdocumented or too-hard-to-find in the Hatchling world (and elsewhere?) as it seems to me,version
inpyproject.toml
sectiontool.hatch.build.targets.wheel.force-include
or if a custom build hook is the only option,If this is too much in one ticket, I can split things up, I just wasn't sure how and if I should.
Would be great to understand what I'm missing, thanks in advance for you reply! 🙏
Best, Sebastian
CC @Flowdalic @hannob
The text was updated successfully, but these errors were encountered: