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.
1 parent bd615ee commit eb81747Copy full SHA for eb81747
setuptools/command/bdist_wheel.py
@@ -27,6 +27,7 @@
27
28
from .. import Command, __version__
29
from ..warnings import SetuptoolsDeprecationWarning
30
+from .egg_info import egg_info as egg_info_cls
31
32
from distutils import log
33
@@ -269,7 +270,7 @@ def finalize_options(self) -> None:
269
270
self.bdist_dir = os.path.join(bdist_base, "wheel")
271
272
if self.dist_info_dir is None:
- egg_info = self.distribution.get_command_obj("egg_info")
273
+ egg_info = cast(egg_info_cls, self.distribution.get_command_obj("egg_info"))
274
egg_info.ensure_finalized() # needed for correct `wheel_dist_name`
275
276
self.data_dir = self.wheel_dist_name + ".data"
0 commit comments