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 3a0596f commit a67f998Copy full SHA for a67f998
setuptools/dist.py
@@ -984,10 +984,10 @@ def _setuptools_commands() -> set[str]:
984
try:
985
# Use older API for importlib.metadata compatibility
986
entry_points = metadata.distribution('setuptools').entry_points
987
- eps = (ep.name for ep in entry_points)
+ eps: Iterable[str] = (ep.name for ep in entry_points)
988
except metadata.PackageNotFoundError:
989
# during bootstrapping, distribution doesn't exist
990
- return set(distutils.command.__all__)
+ eps = []
991
return {*distutils.command.__all__, *eps}
992
993
0 commit comments