Commit Graph

8 Commits

Author SHA1 Message Date
Natalia 695e3df1ad [5.1.x] Bumped version for 5.1 beta 1. 2024-06-26 12:24:35 -03:00
Claude Paroz b4dd76c315 [5.1.x] Migrated setuptools configuration to pyproject.toml.
This branch migrates setuptools configuration from setup.py/setup.cfg to
pyproject.toml. In order to ensure that the generated binary files have
consistent casing (both the tarball and the wheel), setuptools version
is limited to ">=61.0.0,<69.3.0".

Configuration for flake8 was moved to a dedicated .flake8 file since
it cannot be configured via pyproject.toml.

Also, __pycache__ exclusion was removed from MANIFEST and the
extras/Makefile was replaced with a simpler build command.

Co-authored-by: Nick Pope <nick@nickpope.me.uk>

Backport of 4686541691 from main.
2024-06-24 22:31:17 -03:00
Claude Paroz 7dd19a367e
Moved isort config from setup.cfg to pyproject.toml. 2024-01-05 08:15:45 +01:00
David Smith e9bd5b4876
Refs #34233 -- Updated black target-version to Python 3.10. 2023-06-11 14:57:13 +02:00
Youssef 247e25897b Fixed #33778 -- Updated build-system configuration.
This removes unnecessary wheel dependency and __legacy__ fallback.
2022-08-15 11:31:33 +02:00
Nick Pope fa94898034 Refs #33476 -- Used black's force-exclude instead of extend-exclude.
When using `pre-commit run --all-files`, because the filename is passed
explicitly, the file referred to in `extend-exclude` is not properly
excluded. Use `force-exclude` instead to say we really mean it.

See https://github.com/psf/black/issues/438.
2022-03-09 14:51:13 +01:00
Carlton Gibson ba94488196 Refs #33476 -- Adjusted docs and config files for Black.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-02-07 20:36:04 +01:00
Florian Apolloner f8f35e8c53 Enabled build-system isolation via pip. 2021-02-11 08:07:55 +01:00