From 0227b9d941320c04e62e60312fd518d75faf8ffb Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Fri, 13 Nov 2020 17:44:13 +0000 Subject: [PATCH] Improve debug code --- cibuildwheel/__main__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cibuildwheel/__main__.py b/cibuildwheel/__main__.py index c30fba9a..d4f51964 100644 --- a/cibuildwheel/__main__.py +++ b/cibuildwheel/__main__.py @@ -93,12 +93,12 @@ def main() -> None: # TODO remove this encoding stuff import locale - print(sys.stdout.encoding) - print(sys.stdout.isatty()) - print(locale.getpreferredencoding()) - print(sys.getfilesystemencoding()) - print(os.environ["PYTHONIOENCODING"]) - print(chr(246), chr(9786), chr(9787)) + print('sys.stdout.encoding', sys.stdout.encoding) + print('sys.stdout.isatty()', sys.stdout.isatty()) + print('locale.getpreferredencoding()', locale.getpreferredencoding()) + print('sys.getfilesystemencoding()', sys.getfilesystemencoding()) + print('os.environ["PYTHONIOENCODING"]', os.environ.get("PYTHONIOENCODING")) + print('chr(246), chr(9786), chr(9787)', chr(246), chr(9786), chr(9787)) # TODO end detect_obsolete_options()