From 26b3f119540d0a861052ac415dd3dfc697aabf53 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Tue, 2 Dec 2003 06:47:37 +0000 Subject: [PATCH] A hack: Disable import of re, because sre doesn't compile right. DON'T MERGE THIS CHANGE TO THE TRUNK. --- Lib/site.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Lib/site.py b/Lib/site.py index e7b9369471b4..aad7357a46c4 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -91,7 +91,9 @@ del dir, dircase, L # 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) -- 2.47.3