1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
Commit Graph

8 Commits

Author SHA1 Message Date
Mariusz Felisiak
df35cf578f Updated asgiref dependency for 5.1 release series. 2024-07-24 08:21:07 +02:00
Claude Paroz
4686541691
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>
2024-06-24 15:34:43 -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