mirror of
https://github.com/thelsing/knx.git
synced 2025-01-21 00:05:43 +01:00
f34e604d3b
git-subtree-dir: examples/knxPython/pybind11 git-subtree-split: 59a2ac2745d8a57ac94c6accced73620d59fb844
15 lines
376 B
Python
15 lines
376 B
Python
# -*- coding: utf-8 -*-
|
|
import platform
|
|
import sys
|
|
|
|
LINUX = sys.platform.startswith("linux")
|
|
MACOS = sys.platform.startswith("darwin")
|
|
WIN = sys.platform.startswith("win32") or sys.platform.startswith("cygwin")
|
|
|
|
CPYTHON = platform.python_implementation() == "CPython"
|
|
PYPY = platform.python_implementation() == "PyPy"
|
|
|
|
PY2 = sys.version_info.major == 2
|
|
|
|
PY = sys.version_info
|