[Checkins] SVN: grokproject/trunk/ Remove some buildout options in default.cfg that aren't really used

Martijn Faassen faassen at infrae.com
Sun May 4 17:25:56 EDT 2008


Log message for revision 86422:
  Remove some buildout options in default.cfg that aren't really used
  (and 'downloads'). Also stop referring to downloads.zope.org.
  

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

-=-
Modified: grokproject/trunk/CHANGES.txt
===================================================================
--- grokproject/trunk/CHANGES.txt	2008-05-04 21:18:58 UTC (rev 86421)
+++ grokproject/trunk/CHANGES.txt	2008-05-04 21:25:56 UTC (rev 86422)
@@ -8,7 +8,7 @@
 
 * Set up a functional test.
 
-* Added a dependency on z3c.testsetup.
+* Added a dependency on z3c.testsetup for created projects.
 
 * Factor out functions is_grok_installed and install_grok.
 
@@ -20,9 +20,6 @@
 
 * Add newest=false to the buildout.cfg of grokproject itself.
 
-* If we create a ~/.buildout/default.cfg the download-directory
-  option is added with value ~/.buidout/downloads.
-
 * If the user has a ~/.buildout/default.cfg nothing is added to the
   created buildout.cfg. If there is no default.cfg one is created
   with a line specifying the eggs-directory to ~/.buildout/eggs. If

Modified: grokproject/trunk/grokproject/template/buildout.cfg_tmpl
===================================================================
--- grokproject/trunk/grokproject/template/buildout.cfg_tmpl	2008-05-04 21:18:58 UTC (rev 86421)
+++ grokproject/trunk/grokproject/template/buildout.cfg_tmpl	2008-05-04 21:25:56 UTC (rev 86422)
@@ -1,7 +1,6 @@
 [buildout]
 develop = .
 parts = app data zopectl i18n test
-find-links = http://download.zope.org/distribution/
 newest = ${newest}
 extends = versions.cfg
 # eggs will be installed in the default buildout location

Modified: grokproject/trunk/grokproject/utils.py
===================================================================
--- grokproject/trunk/grokproject/utils.py	2008-05-04 21:18:58 UTC (rev 86421)
+++ grokproject/trunk/grokproject/utils.py	2008-05-04 21:25:56 UTC (rev 86422)
@@ -34,19 +34,12 @@
     eggs_dir = os.path.join(default_dir, 'eggs')
     if not os.path.isdir(eggs_dir):
         os.mkdir(eggs_dir)
-    downloads_dir = os.path.join(default_dir, 'downloads')
-    if not os.path.isdir(downloads_dir):
-        os.mkdir(downloads_dir)
     default_cfg = os.path.join(HOME, '.buildout', 'default.cfg')
     if not os.path.isfile(default_cfg):
         config_file = open(default_cfg, 'w')
         contents = """[buildout]
-
-#executable = python2.4
-#index = http://download.zope.org/ppix
 eggs-directory = %s
-download-directory = %s
-""" % (eggs_dir, downloads_dir)
+""" % (eggs_dir)
         config_file.write(contents)
         config_file.close()
 



More information about the Checkins mailing list