env.py
Go to the documentation of this file.
1 # -*- coding: utf-8 -*-
2 import platform
3 import sys
4 
5 LINUX = sys.platform.startswith("linux")
6 MACOS = sys.platform.startswith("darwin")
7 WIN = sys.platform.startswith("win32") or sys.platform.startswith("cygwin")
8 
9 CPYTHON = platform.python_implementation() == "CPython"
10 PYPY = platform.python_implementation() == "PyPy"
11 
12 PY2 = sys.version_info.major == 2
13 
14 PY = sys.version_info


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:42:02