Commits

Anonymous committed d6c7e55

A hack: Disable import of re, because sre doesn't compile right.

DON'T MERGE THIS CHANGE TO THE TRUNK.

Comments (0)

Files changed (1)

 # using the -S option for Python.  See http://www.python.org/sf/586680
 if (os.name == "posix" and sys.path and
     os.path.basename(sys.path[-1]) == "Modules"):
-    from distutils.util import get_platform
+##    from distutils.util import get_platform
+    def get_platform():
+        return "linux-i686"
     s = "build/lib.%s-%.3s" % (get_platform(), sys.version)
     s = os.path.join(os.path.dirname(sys.path[-1]), s)
     sys.path.append(s)