PEP 794 adds import-names and import-namespaces keys under [project] in pyproject.toml. Support for that just landed in pyproject-metadata, see pypa/pyproject-metadata#260. Once that is released, we can add support.
EDIT: prerequisites are support in:
PEP 794 adds
import-namesandimport-namespaceskeys under[project]inpyproject.toml. Support for that just landed inpyproject-metadata, see pypa/pyproject-metadata#260. Once that is released, we can add support.EDIT: prerequisites are support in:
pyproject-metadata(0.10.0, see feat: PEP 794 support (METADATA 2.5) pypa/pyproject-metadata#260)packaging(26.0, see New release for PEP 794 andpackaging.pylockpypa/packaging#950)Import-Name,Import-Namespace) pypi/warehouse#19083)twine(no issue yet)