Skip to content

Commit

Permalink
setup.py: better requirements
Browse files Browse the repository at this point in the history
The first version of setuptools to properly support pyproject.toml was 42 (40-41 were buggy). It is also necessary to specify `build-backend = "setuptools.build_meta"`, otherwise you get the (horrible) default `build-backend = "setuptools.build_meta:__legacy__"`.
  • Loading branch information
henryiii authored and eli-schwartz committed Feb 9, 2022
1 parent bae58e6 commit d2d9df3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"

0 comments on commit d2d9df3

Please sign in to comment.