Author: Tim Felgentreff <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to