[Checkins] SVN: zc.buildout/trunk/ Bug fixed:

Jim Fulton jim at zope.com
Fri Aug 28 15:15:10 EDT 2009


Log message for revision 103352:
  Bug fixed:
    Scripts generated with relative-paths eanbled couldn't be
    symbolocally linked to other locations and still work.
  

Changed:
  U   zc.buildout/trunk/CHANGES.txt
  U   zc.buildout/trunk/src/zc/buildout/easy_install.py
  U   zc.buildout/trunk/src/zc/buildout/easy_install.txt
  U   zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/README.txt

-=-
Modified: zc.buildout/trunk/CHANGES.txt
===================================================================
--- zc.buildout/trunk/CHANGES.txt	2009-08-28 18:53:27 UTC (rev 103351)
+++ zc.buildout/trunk/CHANGES.txt	2009-08-28 19:15:10 UTC (rev 103352)
@@ -17,6 +17,9 @@
 - Option incrementing and decrementing didn't work for options
   specified on the command line.
 
+- Scripts generated with relative-paths eanbled couldn't be
+  symbolocally linked to other locations and still work.
+
 1.4.0 (2009-08-26)
 ==================
 

Modified: zc.buildout/trunk/src/zc/buildout/easy_install.py
===================================================================
--- zc.buildout/trunk/src/zc/buildout/easy_install.py	2009-08-28 18:53:27 UTC (rev 103351)
+++ zc.buildout/trunk/src/zc/buildout/easy_install.py	2009-08-28 19:15:10 UTC (rev 103352)
@@ -1023,7 +1023,7 @@
 import os
 
 join = os.path.join
-base = os.path.dirname(os.path.abspath(__file__))
+base = os.path.dirname(os.path.abspath(os.path.realpath(__file__)))
 """
 
 def _script(module_name, attrs, path, dest, executable, arguments,

Modified: zc.buildout/trunk/src/zc/buildout/easy_install.txt
===================================================================
--- zc.buildout/trunk/src/zc/buildout/easy_install.txt	2009-08-28 18:53:27 UTC (rev 103351)
+++ zc.buildout/trunk/src/zc/buildout/easy_install.txt	2009-08-28 19:15:10 UTC (rev 103352)
@@ -817,7 +817,7 @@
     import os
     <BLANKLINE>
     join = os.path.join
-    base = os.path.dirname(os.path.abspath(__file__))
+    base = os.path.dirname(os.path.abspath(os.path.realpath(__file__)))
     base = os.path.dirname(base)
     <BLANKLINE>
     import sys
@@ -849,7 +849,7 @@
     import os
     <BLANKLINE>
     join = os.path.join
-    base = os.path.dirname(os.path.abspath(__file__))
+    base = os.path.dirname(os.path.abspath(os.path.realpath(__file__)))
     base = os.path.dirname(base)
     <BLANKLINE>
     import sys

Modified: zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/README.txt
===================================================================
--- zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/README.txt	2009-08-28 18:53:27 UTC (rev 103351)
+++ zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/README.txt	2009-08-28 19:15:10 UTC (rev 103352)
@@ -425,7 +425,7 @@
     import os
     <BLANKLINE>
     join = os.path.join
-    base = os.path.dirname(os.path.abspath(__file__))
+    base = os.path.dirname(os.path.abspath(os.path.realpath(__file__)))
     base = os.path.dirname(base)
     <BLANKLINE>
     import sys
@@ -472,7 +472,7 @@
     import os
     <BLANKLINE>
     join = os.path.join
-    base = os.path.dirname(os.path.abspath(__file__))
+    base = os.path.dirname(os.path.abspath(os.path.realpath(__file__)))
     base = os.path.dirname(base)
     <BLANKLINE>
     import sys



More information about the checkins mailing list