Add support to detect WSL

This commit is contained in:
nicolargo 2019-07-03 23:02:20 +02:00
parent 22676c6a21
commit 2340881dde

View File

@ -22,6 +22,7 @@
import errno
import os
import sys
import platform
# OS constants (some libraries/features are OS-dependent)
BSD = sys.platform.find('bsd') != -1