pep517

How to write a minimally working pyproject.toml file that can install packages?

孤街浪徒 提交于 2021-01-26 10:00:24
问题 Pip supports the pyproject.toml file but so far all practical usage of the new schema requires a 3rd party tool that auto-generates these files (e.g., poetry and pip). Unlike setup.py which is already human-writeable, pyproject.toml is not (yet). From setuptools docs, [build-system] requires = [ "setuptools >= 40.9.0", "wheel", ] build-backend = "setuptools.build_meta" However, this file does not include package dependencies (as it should not in PEP518 which only deals with build dependencies