Ticket #14187: patch-siputils.py

File patch-siputils.py, 899 bytes (added by endlesscake-code@…, 17 years ago)
Line 
1--- siputils.py.org.py  2006-11-04 14:09:43.000000000 -0800
2+++ siputils.py 2006-11-06 20:23:11.000000000 -0800
3@@ -1302,11 +1302,11 @@
4             # This allows Apple's Python to be used even if a later python.org
5             # version is also installed.
6             dl = string.split(sys.exec_prefix, os.sep)
7-            try:
8-                dl = dl[:dl.index("Python.framework")]
9-            except ValueError:
10-                error("SIP requires Python to be built as a framework")
11-            self.LFLAGS.append("-F%s" % string.join(dl, os.sep))
12+            # try:
13+               # dl = dl[:dl.index("Python.framework")]
14+            # except ValueError:
15+               # error("SIP requires Python to be built as a framework")
16+            # self.LFLAGS.append("-F%s" % string.join(dl, os.sep))
17             self.LFLAGS.append("-framework Python")
18 
19         Makefile.finalise(self)