[Erp5-report] r37601 leonardo - /erp5/trunk/utils/erp5.recipe.testrunner/

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Aug 6 15:33:58 CEST 2010


Author: leonardo
Date: Fri Aug  6 15:33:58 2010
New Revision: 37601

URL: http://svn.erp5.org?rev=37601&view=rev
Log:
switch the extras_require around to preserve backward compabilitity in erp5.recipe.testrunner

Modified:
    erp5/trunk/utils/erp5.recipe.testrunner/   (props changed)
    erp5/trunk/utils/erp5.recipe.testrunner/README.txt
    erp5/trunk/utils/erp5.recipe.testrunner/setup.py

Propchange: erp5/trunk/utils/erp5.recipe.testrunner/
------------------------------------------------------------------------------
    (empty)

Modified: erp5/trunk/utils/erp5.recipe.testrunner/README.txt
URL: http://svn.erp5.org/erp5/trunk/utils/erp5.recipe.testrunner/README.txt?rev=37601&r1=37600&r2=37601&view=diff
==============================================================================
--- erp5/trunk/utils/erp5.recipe.testrunner/README.txt [utf8] (original)
+++ erp5/trunk/utils/erp5.recipe.testrunner/README.txt [utf8] Fri Aug  6 15:33:58 2010
@@ -35,19 +35,17 @@ bt5_path
   Paths containing business templates to be installed
 
 mysql_create_database
-  If true creates the database using the extra options below that come from
+  If true creates the database using the options below that come from
   erp5.recipe.mysqldatabase (Starting with mysql_). Notice that, to use this
-  option (and the ones below) you need to set the recipe as follows:
+  option, one of two things need to happen:
 
-  * recipe = erp5.recipe.testrunner[create_database]
+  * Your python interpreter already has the MySQL-python package installed
+
+  * You set the 'recipe' of your part to:
+    recipe = erp5.recipe.testrunner[standalone]
     This will use the '[standalone]' variant of erp5.recipe.mysqldatabase and
     will install the MySQL-python egg automatically
 
-  * recipe = erp5.recipe.testrunner[create_database_software_home]
-    This will use the default variant of erp5.recipe.mysqldatabase and
-    will requrie the MySQL-python egg to be already installed in the python
-    that runs buildout
-
 mysql_database_name
   Mysql Database name.
 

Modified: erp5/trunk/utils/erp5.recipe.testrunner/setup.py
URL: http://svn.erp5.org/erp5/trunk/utils/erp5.recipe.testrunner/setup.py?rev=37601&r1=37600&r2=37601&view=diff
==============================================================================
--- erp5/trunk/utils/erp5.recipe.testrunner/setup.py [utf8] (original)
+++ erp5/trunk/utils/erp5.recipe.testrunner/setup.py [utf8] Fri Aug  6 15:33:58 2010
@@ -31,10 +31,10 @@ setup(
     packages = find_packages('src'),
     package_dir = {'': 'src'},
     install_requires = ['zc.recipe.egg', 
+                        'erp5.recipe.mysqldatabase',
                         ],
     extras_require=dict(
-      create_database=['erp5.recipe.mysqldatabase[standalone]'],
-      create_database_software_home=['erp5.recipe.mysqldatabase'],
+      standalone = ['erp5.recipe.mysqldatabase[standalone]'],
       ),
 
     namespace_packages = ['erp5', 'erp5.recipe'],




More information about the Erp5-report mailing list