Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

alkaline-ml / statsmodels   python

Repository URL to install this package:

Version: 0.11.1 

/ compat / platform.py

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