'Pyproject dependencies vs build-system requires?

Just started looking at using pyproject.toml for a repository of mine, but can't discern the different between the dependencies key and the build-system requires key? Which one replaces requirements.txt?



Solution 1:[1]

I know this answer comes a little late. The pyproject.toml section dependencies replaces the requirements.txt. The pyproject.toml section build-system requires is the requirements to build your package. You can find more inforamation in the [Dependencies Management in Setuptools].1

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Felix D.