[csw-devel] SF.net SVN: gar:[3449] csw/mgar/pkg/python/trunk/files/site.diff

valholla at users.sourceforge.net valholla at users.sourceforge.net
Mon Feb 23 22:23:06 CET 2009


Revision: 3449
          http://gar.svn.sourceforge.net/gar/?rev=3449&view=rev
Author:   valholla
Date:     2009-02-23 21:23:06 +0000 (Mon, 23 Feb 2009)

Log Message:
-----------
add old site-packages

Added Paths:
-----------
    csw/mgar/pkg/python/trunk/files/site.diff

Added: csw/mgar/pkg/python/trunk/files/site.diff
===================================================================
--- csw/mgar/pkg/python/trunk/files/site.diff	                        (rev 0)
+++ csw/mgar/pkg/python/trunk/files/site.diff	2009-02-23 21:23:06 UTC (rev 3449)
@@ -0,0 +1,25 @@
+--- Python-2.6.1/Lib/site.py.orig	2009-02-23 15:13:02.813997871 -0600
++++ Python-2.6.1/Lib/site.py	2009-02-23 15:20:00.516392336 -0600
+@@ -268,7 +268,21 @@
+             sitedirs.append(os.path.join(prefix, "lib",
+                                         "python" + sys.version[:3],
+                                         "site-packages"))
+-            sitedirs.append(os.path.join(prefix, "lib", "site-python"))
++            sitedirs.append(os.path.join(prefix, "lib", 
++                                        "python",
++                                        "site-packages"))
++            sitedirs.append(os.path.join(prefix, "lib", 
++                                        "python2.5",
++                                        "site-python"))
++            sitedirs.append(os.path.join(prefix, "lib", 
++                                        "python2.3",
++                                        "site-python"))
++            sitedirs.append(os.path.join(prefix, "lib", 
++                                        "python2.1",
++                                        "site-python"))
++            sitedirs.append(os.path.join(prefix, "lib", 
++                                        "site-python",
++                                        "site-python"))
+         else:
+             sitedirs.append(prefix)
+             sitedirs.append(os.path.join(prefix, "lib", "site-packages"))


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list