8 import sys |
8 import sys |
9 |
9 |
10 # Operating systems. |
10 # Operating systems. |
11 WINDOWS = sys.platform == "win32" |
11 WINDOWS = sys.platform == "win32" |
12 LINUX = sys.platform.startswith("linux") |
12 LINUX = sys.platform.startswith("linux") |
|
13 OSX = sys.platform == "darwin" |
13 |
14 |
14 # Python implementations. |
15 # Python implementations. |
15 CPYTHON = (platform.python_implementation() == "CPython") |
16 CPYTHON = (platform.python_implementation() == "CPython") |
16 PYPY = (platform.python_implementation() == "PyPy") |
17 PYPY = (platform.python_implementation() == "PyPy") |
17 JYTHON = (platform.python_implementation() == "Jython") |
18 JYTHON = (platform.python_implementation() == "Jython") |