We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pkg_resources
setuptools/installer.py
2 parents 75fd24e + 2d2d3b6 commit 10d495cCopy full SHA for 10d495c
setuptools/installer.py
@@ -6,8 +6,7 @@
6
import sys
7
import tempfile
8
from functools import partial
9
-
10
-from pkg_resources import Distribution
+from typing import TYPE_CHECKING
11
12
from . import _reqs
13
from ._reqs import _StrOrIter
@@ -17,6 +16,9 @@
17
16
from distutils import log
18
from distutils.errors import DistutilsError
19
+if TYPE_CHECKING:
20
+ from pkg_resources import Distribution
21
+
22
23
def _fixup_find_links(find_links):
24
"""Ensure find-links option end-up being a list of strings."""
0 commit comments