AIM-PIbd-32-Kurbanova-A-A/aimenv/Lib/site-packages/statsmodels/compat/platform.py

19 lines
461 B
Python
Raw Normal View History

2024-10-02 22:15:59 +04:00
import os
import sys
__all__ = [
"PLATFORM_OSX",
"PLATFORM_WIN",
"PLATFORM_WIN32",
"PLATFORM_32",
"PLATFORM_LINUX",
"PLATFORM_LINUX32",
]
PLATFORM_OSX = sys.platform == "darwin"
PLATFORM_WIN = sys.platform in ("win32", "cygwin") or os.name == "nt"
PLATFORM_WIN32 = PLATFORM_WIN and sys.maxsize < 2 ** 33
PLATFORM_LINUX = sys.platform[:5] == "linux"
PLATFORM_32 = sys.maxsize < 2 ** 33
PLATFORM_LINUX32 = PLATFORM_32 and PLATFORM_LINUX