Skip to content

Commit

Permalink
Check for more specific error message
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Oct 15, 2024
1 parent a663287 commit 50b732a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setuptools/build_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def _build(cmd: list[str]):
return _build(['bdist_wheel', '--dist-info-dir', metadata_directory])
except SystemExit as ex: # pragma: nocover
# pypa/setuptools#4683
if "--dist-info-dir" not in str(ex):
if "--dist-info-dir not recognized" not in str(ex):
raise
_IncompatibleBdistWheel.emit()
return _build(['bdist_wheel'])
Expand Down

0 comments on commit 50b732a

Please sign in to comment.