mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-26 07:59:51 +03:00
require types-setuptools>=75.2.0
this is necessary to have https://github.com/python/typeshed/pull/12791
This commit is contained in:
parent
2f169fa121
commit
d82576ff38
|
@ -11,4 +11,4 @@ sphinx
|
|||
types-atheris
|
||||
types-defusedxml
|
||||
types-olefile
|
||||
types-setuptools
|
||||
types-setuptools>=75.2.0
|
||||
|
|
6
setup.py
6
setup.py
|
@ -16,11 +16,15 @@ import subprocess
|
|||
import sys
|
||||
import warnings
|
||||
from collections.abc import Iterator
|
||||
from typing import TYPE_CHECKING, Any
|
||||
|
||||
from pybind11.setup_helpers import ParallelCompile
|
||||
from setuptools import Extension, setup
|
||||
from setuptools.command.build_ext import build_ext
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from setuptools import _BuildInfo
|
||||
|
||||
configuration: dict[str, list[str]] = {}
|
||||
|
||||
# parse configuration from _custom_build/backend.py
|
||||
|
@ -1072,7 +1076,7 @@ def debug_build() -> bool:
|
|||
return hasattr(sys, "gettotalrefcount") or FUZZING_BUILD
|
||||
|
||||
|
||||
libraries = [
|
||||
libraries: list[tuple[str, _BuildInfo]] = [
|
||||
("pil_imaging_mode", {"sources": ["src/libImaging/Mode.c"]}),
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user