python-twisted: Update to 23.8.0, rework patches

The package changed to the hatchling build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
Jeffery To
2023-09-29 11:37:08 +08:00
committed by Rosen Penev
parent e429c11b04
commit 00841f9873
4 changed files with 30 additions and 40 deletions

View File

@@ -1,20 +1,10 @@
--- a/setup.cfg
+++ b/setup.cfg
@@ -107,6 +107,9 @@ mypy =
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -194,6 +194,7 @@ exclude = [
"*.pxi",
"*.pyx",
"build.bat",
+ "test",
]
[options.packages.find]
where = src
+exclude =
+ *.test
+ *.test.*
[options.entry_points]
console_scripts =
@@ -126,6 +129,7 @@ console_scripts =
*.pxi
*.pyx
build.bat
+ test/*
[flake8]
disable-noqa = True
[tool.hatch.build.targets.sdist]