[Checkins] SVN: zope.app.apidoc/trunk/ Use extras_require properly for test dependency

Baiju M baiju.m.mail at gmail.com
Wed Mar 28 07:08:45 EDT 2007


Log message for revision 73842:
  Use extras_require properly for test dependency
  

Changed:
  U   zope.app.apidoc/trunk/buildout.cfg
  A   zope.app.apidoc/trunk/setup.cfg
  U   zope.app.apidoc/trunk/setup.py

-=-
Modified: zope.app.apidoc/trunk/buildout.cfg
===================================================================
--- zope.app.apidoc/trunk/buildout.cfg	2007-03-28 11:07:09 UTC (rev 73841)
+++ zope.app.apidoc/trunk/buildout.cfg	2007-03-28 11:08:45 UTC (rev 73842)
@@ -2,9 +2,7 @@
 develop = .
 parts = test
 
-find-links = http://download.zope.org/distribution/
-
 [test]
 recipe = zc.recipe.testrunner
 defaults = ['--tests-pattern', '^f?tests$']
-eggs = zope.app.apidoc
+eggs = zope.app.apidoc [test]

Added: zope.app.apidoc/trunk/setup.cfg
===================================================================
--- zope.app.apidoc/trunk/setup.cfg	2007-03-28 11:07:09 UTC (rev 73841)
+++ zope.app.apidoc/trunk/setup.cfg	2007-03-28 11:08:45 UTC (rev 73842)
@@ -0,0 +1,2 @@
+[egg_info]
+tag_svn_revision = 1
\ No newline at end of file


Property changes on: zope.app.apidoc/trunk/setup.cfg
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: zope.app.apidoc/trunk/setup.py
===================================================================
--- zope.app.apidoc/trunk/setup.py	2007-03-28 11:07:09 UTC (rev 73841)
+++ zope.app.apidoc/trunk/setup.py	2007-03-28 11:08:45 UTC (rev 73842)
@@ -37,7 +37,6 @@
       namespace_packages = ['zope', 'zope.app'],
       tests_require = ['zope.testing'],
       install_requires = ['setuptools',
-                          'mechanize',
                           'zope.annotation',
                           'zope.app.appsetup',
                           'zope.app.basicskin',
@@ -50,8 +49,6 @@
                           'zope.app.skins',
                           'zope.app.testing',
                           'zope.app.tree',
-                          'zope.app.tree.browser',
-                          'zope.app.zcmlfiles',
                           'zope.cachedescriptors',
                           'zope.component',
                           'zope.configuration',
@@ -61,13 +58,17 @@
                           'zope.location',
                           'zope.proxy',
                           'zope.publisher',
-                          'zope.publisher.interfaces',
                           'zope.schema',
                           'zope.security',
                           'zope.testbrowser',
                           'zope.testing',
                           'zope.traversing',
                           ],
+      extras_require = dict(test=['zope.app.testing',
+                                  'zope.app.securitypolicy',
+                                  'zope.app.zcmlfiles'],
+                            static=['mechanize'],
+                            ),
       include_package_data = True,
 
       zip_safe = False,



More information about the Checkins mailing list