[Checkins] SVN: Sandbox/philikon/zopeproject/trunk/ Assemble the default path for the eggs directory in a

Philipp von Weitershausen philikon at philikon.de
Sun Jul 15 09:42:53 EDT 2007


Log message for revision 77998:
  Assemble the default path for the eggs directory in a
  Windows-friendly way.
  
  

Changed:
  U   Sandbox/philikon/zopeproject/trunk/README.txt
  U   Sandbox/philikon/zopeproject/trunk/zopeproject/templates.py

-=-
Modified: Sandbox/philikon/zopeproject/trunk/README.txt
===================================================================
--- Sandbox/philikon/zopeproject/trunk/README.txt	2007-07-15 13:35:19 UTC (rev 77997)
+++ Sandbox/philikon/zopeproject/trunk/README.txt	2007-07-15 13:42:53 UTC (rev 77998)
@@ -36,6 +36,9 @@
 * The buildout.cfg template was missing settings for the shared eggs
   directory and thew ``newest`` flag.
 
+* Assemble the default path for the eggs directory in a
+  Windows-friendly way.
+
 0.3 (2007-07-14)
 ----------------
 

Modified: Sandbox/philikon/zopeproject/trunk/zopeproject/templates.py
===================================================================
--- Sandbox/philikon/zopeproject/trunk/zopeproject/templates.py	2007-07-15 13:35:19 UTC (rev 77997)
+++ Sandbox/philikon/zopeproject/trunk/zopeproject/templates.py	2007-07-15 13:42:53 UTC (rev 77998)
@@ -3,6 +3,8 @@
 import shutil
 from paste.script.templates import var, NoDefault, Template, BasicPackage
 
+HOME = os.path.expanduser('~')
+
 class ZopeDeploy(Template):
     _template_dir = 'zope_deploy'
     summary = "(Paste) deployment of a Zope application"
@@ -12,7 +14,7 @@
         var('passwd', 'Password for the initial administrator user',
             default=NoDefault),
         var('eggs_dir', 'Location where zc.buildout will look for and place '
-            'packages', default=os.path.expanduser('~/buildout-eggs'))
+            'packages', default=os.path.join(HOME, 'buildout-eggs'))
         ]
 
     def check_vars(self, vars, cmd):



More information about the Checkins mailing list