I'm thinking of migrating my Python library from Pipenv with setup.py
to just Poetry. Previously, in order to build my project, I would run
python setup.py sdist bdist_wheel
For the package I'm building, the minimum supported Python version is 3.6, so I've added the following in a setup.cfg
file so that this is specified in the built wheel (based on this):
[bdist_wheel]
python-tag = py36
However, with Poetry, the poetry build
comamnd is used, which ignores this section in setup.cfg
and instead puts a general py3
tag on the wheel. Is there any equivalent way to get the tag onto the generated wheel using Poetry?