How to specify --python-tag
with Hatch?
#185
-
I assume this is something the build backend would support. I have a project that builds Unicode tables that match the Python version it is being installed on. So, when releasing, I build a python package for each supported Python version. They are all pure Python wheels, but each one contains a set of Unicode tables that matches the given Python distribution. With setup tools, all I did was: $ python3 setup.py bdist_wheel --python-tag py39 Using $ python3 -m build -w -C="--global-option=--python-tag" -C="--global-option=py310" It seems that if you try this with a project that uses a Hatch backend, this doesn't work. I imagine this is because the backend would need to support such input. Does Hatch support this already, and I just haven't found where yet? If not, is it something that could be added? |
Beta Was this translation helpful? Give feedback.
https://ofek.dev/hatch/dev/plugins/builder/#build-data