Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use stderr for consistency
  • Loading branch information
ilevkivskyi committed Dec 9, 2025
commit 32b0cffaa5844a2cb5beb11638f95622ccaee581
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
exit(1)

if platform.python_implementation() == "PyPy":
print(
"ERROR: Running mypy on PyPy is not supported yet."
"To type-check a PyPy library please use an equivalent CPython version,"
"see https://github.com/mypyc/librt/issues/16 for possible workarounds."
sys.stderr.write(
"ERROR: Running mypy on PyPy is not supported yet.\n"
"To type-check a PyPy library please use an equivalent CPython version,\n"
"see https://github.com/mypyc/librt/issues/16 for possible workarounds.\n"
)
sys.exit(1)
exit(1)

# we'll import stuff from the source tree, let's ensure is on the sys path
sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)))
Expand Down