Skip to content

Commit 50b732a

Browse files
committed
Check for more specific error message
1 parent a663287 commit 50b732a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setuptools/build_meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def _build(cmd: list[str]):
434434
return _build(['bdist_wheel', '--dist-info-dir', metadata_directory])
435435
except SystemExit as ex: # pragma: nocover
436436
# pypa/setuptools#4683
437-
if "--dist-info-dir" not in str(ex):
437+
if "--dist-info-dir not recognized" not in str(ex):
438438
raise
439439
_IncompatibleBdistWheel.emit()
440440
return _build(['bdist_wheel'])

0 commit comments

Comments
 (0)