Skip to content

Only run build hook once #964

Answered by ofek
freddyaboulton asked this question in Q&A
Sep 11, 2023 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

You need to do two things:

  1. Change [tool.hatch.build.hooks.custom] to [tool.hatch.build.targets.wheel.hooks.custom]
  2. Include that script in the source distribution

Replies: 2 comments 2 replies

Comment options

ofek
Sep 11, 2023
Maintainer Sponsor

You must be logged in to vote
2 replies
@freddyaboulton
Comment options

@ofek
Comment options

ofek Sep 12, 2023
Maintainer Sponsor

Answer selected by freddyaboulton
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants