Have I misunderstood the functionality or why are there no hello.txt/goodbye.txt in dist/*.whl? #3
Replies: 2 comments 4 replies
-
Also, I believe that this hatch build hook is to limited for our use case, but I just want to confirm. The README example generates hello.txt and goodbye.txt to the top level directory and shows no example of how to control the directory structure. This a our use-case: [[tool.hatch.build.hooks.build-scripts.scripts]]
out_dir = "out"
commands = [
mkdir tmp ; echo 'Hello, world!' > tmp/hello.txt",
]
artifacts = [
"tmp/hello.txt"
] This will copy the hello.txt artifact to command will generate: build/tmp/generated_src//files.1|directory/files.2 etc I now want to move the entire generated structure to Any thing that you might consider adding or do you think that this is out of the scope for this plugin? |
Beta Was this translation helpful? Give feedback.
-
This artifacts should be included in the wheel by this line as is verified here in the tests. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Following the example in the README: https://github.com/rmorshea/hatch-build-scripts?tab=readme-ov-file#usage
Shall hello.txt and goodbye.txt not be included in the generated whl file under dist?
Beta Was this translation helpful? Give feedback.
All reactions