[Checkins] SVN: zc.recipe.rhrc/trunk/ Updated in preparation for making eggs.

Jim Fulton jim at zope.com
Thu Jan 25 16:32:43 EST 2007


Log message for revision 72230:
  Updated in preparation for making eggs.
  

Changed:
  U   zc.recipe.rhrc/trunk/buildout.cfg
  U   zc.recipe.rhrc/trunk/setup.py

-=-
Modified: zc.recipe.rhrc/trunk/buildout.cfg
===================================================================
--- zc.recipe.rhrc/trunk/buildout.cfg	2007-01-25 21:28:38 UTC (rev 72229)
+++ zc.recipe.rhrc/trunk/buildout.cfg	2007-01-25 21:32:43 UTC (rev 72230)
@@ -4,5 +4,6 @@
 
 [test]
 recipe = zc.recipe.testrunner
-eggs = zc.recipe.rhrc
+eggs = zc.recipe.rhrc [test]
 
+

Modified: zc.recipe.rhrc/trunk/setup.py
===================================================================
--- zc.recipe.rhrc/trunk/setup.py	2007-01-25 21:28:38 UTC (rev 72229)
+++ zc.recipe.rhrc/trunk/setup.py	2007-01-25 21:32:43 UTC (rev 72230)
@@ -1,4 +1,4 @@
-from setuptools import setup
+from setuptools import setup, find_packages
 
 
 entry_points = '''
@@ -20,6 +20,10 @@
     keywords = 'zope3',
     
     entry_points=entry_points,
+    packages = find_packages('src'),
+    namespace_packages = ['zc', 'zc.recipe'],
     package_dir = {'': 'src'},
-    install_requires = "zc.buildout" # XXX Grrr should use tests_require
+    extras_require = dict(test="zc.buildout"),
+    install_requires = 'setuptools',
+    zip_safe = False,
     )



More information about the Checkins mailing list