[pypy-commit] lang-smalltalk default: oops, forgot to include this
timfel
noreply at buildbot.pypy.org
Sun Jan 19 12:17:38 CET 2014
Author: Tim Felgentreff <timfelgentreff at gmail.com>
Branch:
Changeset: r592:89c1c5b8fe02
Date: 2014-01-19 12:12 +0100
http://bitbucket.org/pypy/lang-smalltalk/changeset/89c1c5b8fe02/
Log: oops, forgot to include this
diff --git a/spyvm/system.py b/spyvm/system.py
new file mode 100644
--- /dev/null
+++ b/spyvm/system.py
@@ -0,0 +1,9 @@
+import sys
+import os
+import platform
+
+IS_POSIX = os.name == "posix"
+IS_WINDOWS = os.name == "nt"
+IS_LINUX = "linux" in sys.platform
+IS_64BIT = "64bit" in platform.architecture()[0]
+IS_CYGWIN = "cygwin" == sys.platform
More information about the pypy-commit
mailing list