Commit Graph

3 Commits

Author SHA1 Message Date
Edouard Choinière
eef0ba41e8 Extract entry point scripts to pyproject.toml 2025-02-04 02:06:50 +00:00
Edouard Choinière
9ae5c112b4 Extract static metadata from setup.py 2025-02-04 01:59:20 +00:00
Edouard Choinière
961d14b9cc Introduce basic pyproject.toml, supporting existing build methods only (#2687)
* Add pyproject.toml with only name and dynamic fields

* Add build-system section to pyproject.toml with build requirements

Explicitly set the fallback build backend `setuptools.build_meta:__legacy__`

* Replace wheel.bdist_wheel import with setuptools equivalent

There is a deprecation warning that will be enforced in october 2025

* Package `requests[security]` is a no-op since 2.26.0, published 2021-07-13, use only `requests >= 2.26.0`

* Add setuptools package configuration to pyproject.toml

* Exclude packages found at top level with setuptools config

Exclude buildtools/backports package found at top level with setuptools config

* Add dynamic metadata in setup-wxsvg.py too to avoid failing the build

---------

Co-authored-by: Edouard Choinière <echoix@users.noreply.github.com>
2025-02-03 19:52:44 -05:00