diff options
author | Henry Schreiner <HenrySchreinerIII@gmail.com> | 2022-02-08 23:45:33 -0500 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-02-09 07:21:07 -0500 |
commit | d2d9df3121d228797d0b3bccfd614849b637c0fe (patch) | |
tree | 7316c957c8b469d5581734b602a71f4ef20ee9e0 /pyproject.toml | |
parent | bae58e6e497831530e9aa80ef1dff0e34d4ef5b1 (diff) | |
download | meson-d2d9df3121d228797d0b3bccfd614849b637c0fe.zip meson-d2d9df3121d228797d0b3bccfd614849b637c0fe.tar.gz meson-d2d9df3121d228797d0b3bccfd614849b637c0fe.tar.bz2 |
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__"`.
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml index d1e6ae6..8fe2f47 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,3 @@ [build-system] -requires = ["setuptools", "wheel"] +requires = ["setuptools>=42", "wheel"] +build-backend = "setuptools.build_meta" |