[csw-devel] SF.net SVN: gar:[21530] csw/mgar/pkg/lang-python/python/branches/python-2.7 /files/0001-manage-previous-site-package.patch

pfelecan at users.sourceforge.net pfelecan at users.sourceforge.net
Fri Jul 19 10:44:19 CEST 2013


Revision: 21530
          http://gar.svn.sourceforge.net/gar/?rev=21530&view=rev
Author:   pfelecan
Date:     2013-07-19 08:44:14 +0000 (Fri, 19 Jul 2013)
Log Message:
-----------
lang-python/python/branches/python-2.7: correct the addition
unversioned tree at the end of the modules search path

Modified Paths:
--------------
    csw/mgar/pkg/lang-python/python/branches/python-2.7/files/0001-manage-previous-site-package.patch

Modified: csw/mgar/pkg/lang-python/python/branches/python-2.7/files/0001-manage-previous-site-package.patch
===================================================================
--- csw/mgar/pkg/lang-python/python/branches/python-2.7/files/0001-manage-previous-site-package.patch	2013-07-19 07:37:08 UTC (rev 21529)
+++ csw/mgar/pkg/lang-python/python/branches/python-2.7/files/0001-manage-previous-site-package.patch	2013-07-19 08:44:14 UTC (rev 21530)
@@ -1,6 +1,6 @@
-From 6e0c0e2e1d3fd1284b4c002c04898dc5da6cf859 Mon Sep 17 00:00:00 2001
+From 5dc1c90d3d8c5491baacf565d77f0557bbcae7df Mon Sep 17 00:00:00 2001
 From: Peter Felecan <pfelecan at opencsw.org>
-Date: Thu, 18 Jul 2013 17:46:39 +0200
+Date: Fri, 19 Jul 2013 10:34:14 +0200
 Subject: [PATCH] manage previous site package
 
 this is to support the transition between an unversiond installation tree
@@ -9,14 +9,14 @@
  1 file changed, 1 insertion(+)
 
 diff --git a/Lib/site.py b/Lib/site.py
-index f1b0ae8..ebe09e3 100644
+index f1b0ae8..1ea2596 100644
 --- a/Lib/site.py
 +++ b/Lib/site.py
 @@ -292,6 +292,7 @@ def getsitepackages():
                                          "python" + sys.version[:3],
                                          "site-packages"))
              sitepackages.append(os.path.join(prefix, "lib", "site-python"))
-+            sitepackages.append(os.path.join(prefix, "lib", "python"))
++            sitepackages.append(os.path.join(prefix, "lib", "python/site-packages"))
          else:
              sitepackages.append(prefix)
              sitepackages.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