This commit is contained in:
Anthony Scopatz 2019-01-29 13:39:38 -05:00
parent 0ff0c39969
commit bd3fd8cfc9

View file

@ -75,11 +75,13 @@ def ON_BEOS():
"""True if we are on BeOS or Haiku."""
return sys.platform == "beos5" or sys.platform == "haiku1"
@lazybool
def ON_WSL():
"""True if we are on Windows Subsystem for Linux (WSL)"""
return "Microsoft" in platform.release()
#
# Python & packages
#