File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 9
9
types-atheris
10
10
types-defusedxml
11
11
types-olefile
12
- types-setuptools
12
+ types-setuptools>=75.2.0
Original file line number Diff line number Diff line change 16
16
import sys
17
17
import warnings
18
18
from collections .abc import Iterator
19
- from typing import Any
19
+ from typing import Any , TYPE_CHECKING
20
20
21
21
from setuptools import Extension , setup
22
22
from setuptools .command .build_ext import build_ext
23
+ if TYPE_CHECKING :
24
+ from setuptools import _BuildInfo
23
25
24
26
25
27
def get_version () -> str :
@@ -1001,7 +1003,7 @@ def debug_build() -> bool:
1001
1003
return hasattr (sys , "gettotalrefcount" ) or FUZZING_BUILD
1002
1004
1003
1005
1004
- libraries = [
1006
+ libraries : list [ tuple [ str , _BuildInfo ]] = [
1005
1007
("pil_imaging_mode" , {"sources" : ["src/libImaging/Mode.c" ]}),
1006
1008
]
1007
1009
You can’t perform that action at this time.
0 commit comments