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 d0f97f8 commit fe8910dCopy full SHA for fe8910d
setup.py
@@ -58,7 +58,7 @@ def check_sdl_version() -> None:
58
raise RuntimeError(msg) from exc
59
except subprocess.CalledProcessError as exc:
60
if sys.version_info >= (3, 11):
61
- exc.add_note(f"{os.environ['PKG_CONFIG_PATH']=}")
+ exc.add_note(f"Note: {os.environ.get('PKG_CONFIG_PATH')=}")
62
raise
63
print(f"Found SDL {sdl_version_str}.")
64
sdl_version = tuple(int(s) for s in sdl_version_str.split("."))
0 commit comments