forked from platformio/platformio-core
Keep PY2 for backward compatibility with ESP8266/ESP32 // Resolve #4226
This commit is contained in:
@ -28,6 +28,7 @@ else:
|
|||||||
from asyncio import get_event_loop as aio_get_running_loop
|
from asyncio import get_event_loop as aio_get_running_loop
|
||||||
|
|
||||||
|
|
||||||
|
PY2 = sys.version_info[0] == 2 # DO NOT REMOVE IT. ESP8266/ESP32 depend on it
|
||||||
IS_CYGWIN = sys.platform.startswith("cygwin")
|
IS_CYGWIN = sys.platform.startswith("cygwin")
|
||||||
IS_WINDOWS = WINDOWS = sys.platform.startswith("win")
|
IS_WINDOWS = WINDOWS = sys.platform.startswith("win")
|
||||||
IS_MACOS = sys.platform.startswith("darwin")
|
IS_MACOS = sys.platform.startswith("darwin")
|
||||||
|
Reference in New Issue
Block a user