It seems that most Python projects have migrated to using pyproject.toml. If a pyproject.toml file exists, our installer should probably write the dependencies to that file, instead of to requirements.txt.
(In the absence of either of the files, creating a requirements.txt is fine, as creating a pyproject.toml is a whole thing)
It seems that most Python projects have migrated to using
pyproject.toml. If apyproject.tomlfile exists, our installer should probably write the dependencies to that file, instead of torequirements.txt.(In the absence of either of the files, creating a
requirements.txtis fine, as creating apyproject.tomlis a whole thing)pyproject.tomland uses it when it existspyproject.tomlalongsiderequirements.txtfor manual installation