mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-10-22 19:54:46 +03:00
Typing import suggestion
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
parent
b33254f370
commit
2b4c7c011e
2
setup.py
2
setup.py
|
@ -16,12 +16,12 @@ import subprocess
|
||||||
import sys
|
import sys
|
||||||
import warnings
|
import warnings
|
||||||
from collections.abc import Iterator
|
from collections.abc import Iterator
|
||||||
from typing import TYPE_CHECKING
|
|
||||||
|
|
||||||
from pybind11.setup_helpers import ParallelCompile
|
from pybind11.setup_helpers import ParallelCompile
|
||||||
from setuptools import Extension, setup
|
from setuptools import Extension, setup
|
||||||
from setuptools.command.build_ext import build_ext
|
from setuptools.command.build_ext import build_ext
|
||||||
|
|
||||||
|
TYPE_CHECKING = False
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from setuptools import _BuildInfo
|
from setuptools import _BuildInfo
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user