How to create two wheels with different artifacts? #1353
-
Hello! I am one of the maintainers of gradio (https://github.com/gradio-app/gradio). We build and publish a wheel that has some artifacts specified under So my question is, how can I specify a different set of artifacts for Thanks for the help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I think I figured it out using the built in custom builder. This is the builder implementation from hatchling.builders.wheel import WheelBuilder
def get_builder():
return LiteBuilder
class LiteBuilder(WheelBuilder):
PLUGIN_NAME = 'lite'
These are the modifications to the toml:
Then I build with Final question - how do I rename the builder to be |
Beta Was this translation helpful? Give feedback.
Oh if you redefine the version methods you can probably do
hatch build -t custom:lite
: