setup.py: better requirements

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__"`.
pull/9979/head
Henry Schreiner 2 years ago committed by Eli Schwartz
parent bae58e6e49
commit d2d9df3121
  1. 3
      pyproject.toml

@ -1,2 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"

Loading…
Cancel
Save