[Checkins] SVN: grokproject/trunk/ Do not add eggs-directory to the buildout.cfg, as the absolute paths

Maurits van Rees m.van.rees at zestsoftware.nl
Fri May 2 05:01:14 EDT 2008


Log message for revision 86050:
  Do not add eggs-directory to the buildout.cfg, as the absolute paths
  created make the resulting project unusable on other computers.
  

Changed:
  U   grokproject/trunk/CHANGES.txt
  U   grokproject/trunk/grokproject/__init__.py
  U   grokproject/trunk/grokproject/template/buildout.cfg_tmpl

-=-
Modified: grokproject/trunk/CHANGES.txt
===================================================================
--- grokproject/trunk/CHANGES.txt	2008-05-02 08:52:43 UTC (rev 86049)
+++ grokproject/trunk/CHANGES.txt	2008-05-02 09:01:14 UTC (rev 86050)
@@ -4,6 +4,9 @@
 0.8 (unreleased)
 ------------------
 
+* Do not add eggs-directory to the buildout.cfg, as the absolute paths
+  created make the resulting project unusable on other computers.
+
 * "bin/paster create -t grokproject" now works again.
 
 * Make sure bin/paster gets added so we can also test only our

Modified: grokproject/trunk/grokproject/__init__.py
===================================================================
--- grokproject/trunk/grokproject/__init__.py	2008-05-02 08:52:43 UTC (rev 86049)
+++ grokproject/trunk/grokproject/__init__.py	2008-05-02 09:01:14 UTC (rev 86050)
@@ -21,8 +21,6 @@
         var('user', 'Name of an initial administrator user', default=NoDefault),
         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')),
         var('newest', 'Check for newer versions of packages', default='false'),
         var('version_info_url',
             "The URL to a *.cfg file containing a [versions] section.",
@@ -38,9 +36,8 @@
             print "Please choose a different project name."
             sys.exit(1)
         for var_name in ['user', 'passwd']:
-            # Esacpe values that go in site.zcml.
+            # Escape values that go in site.zcml.
             vars[var_name] = xml.sax.saxutils.quoteattr(vars[var_name])
-        vars['eggs_dir'] = os.path.expanduser(vars['eggs_dir'])
         extends = vars.get('version_info_url')
         if extends is None:
             info = urllib.urlopen(VERSIONINFO_INFO_URL).read().strip()

Modified: grokproject/trunk/grokproject/template/buildout.cfg_tmpl
===================================================================
--- grokproject/trunk/grokproject/template/buildout.cfg_tmpl	2008-05-02 08:52:43 UTC (rev 86049)
+++ grokproject/trunk/grokproject/template/buildout.cfg_tmpl	2008-05-02 09:01:14 UTC (rev 86050)
@@ -2,7 +2,6 @@
 develop = .
 parts = app data zopectl i18n test
 find-links = http://download.zope.org/distribution/
-eggs-directory = ${eggs_dir}
 newest = ${newest}
 extends = ${extends}
 versions = versions



More information about the Checkins mailing list