Nicholas Lawrence
Nicholas Lawrence

Reputation: 146

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?

Upvotes: 6

Views: 2506

Answers (1)

Felix D.
Felix D.

Reputation: 133

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

Upvotes: 4

Related Questions