[Checkins] SVN: zope.app.publisher/trunk/ There is no direct dependency on zope.app.component anymore in this

Martijn Faassen faassen at startifact.com
Fri May 22 12:33:41 EDT 2009


Log message for revision 100240:
  There is no direct dependency on zope.app.component anymore in this
  package.
  

Changed:
  U   zope.app.publisher/trunk/CHANGES.txt
  U   zope.app.publisher/trunk/setup.py
  U   zope.app.publisher/trunk/src/zope/app/publisher/browser/fields.py

-=-
Modified: zope.app.publisher/trunk/CHANGES.txt
===================================================================
--- zope.app.publisher/trunk/CHANGES.txt	2009-05-22 16:32:56 UTC (rev 100239)
+++ zope.app.publisher/trunk/CHANGES.txt	2009-05-22 16:33:41 UTC (rev 100240)
@@ -5,7 +5,7 @@
 3.7.1 (unreleased)
 ==================
 
-None.
+- There is no direct dependency on zope.app.component anymore (even in the tests).
 
 3.7.0 (2009-05-22)
 ==================

Modified: zope.app.publisher/trunk/setup.py
===================================================================
--- zope.app.publisher/trunk/setup.py	2009-05-22 16:32:56 UTC (rev 100239)
+++ zope.app.publisher/trunk/setup.py	2009-05-22 16:33:41 UTC (rev 100240)
@@ -62,11 +62,10 @@
                         ],
       extras_require={
           'test': ['zope.testing',
-                  'zope.app.component',
-                  'zope.app.testing',
-                  'zope.app.securitypolicy',
-                  'zope.app.zcmlfiles',
-                  'zope.site'],
+                   'zope.app.testing',
+                   'zope.app.securitypolicy',
+                   'zope.app.zcmlfiles',
+                   'zope.site'],
           },
 
       zip_safe = False,

Modified: zope.app.publisher/trunk/src/zope/app/publisher/browser/fields.py
===================================================================
--- zope.app.publisher/trunk/src/zope/app/publisher/browser/fields.py	2009-05-22 16:32:56 UTC (rev 100239)
+++ zope.app.publisher/trunk/src/zope/app/publisher/browser/fields.py	2009-05-22 16:33:41 UTC (rev 100240)
@@ -44,7 +44,7 @@
     ...     def resolve(self, path):
     ...         if path.startswith('zope.app.menus') and \
     ...             hasattr(menus, 'menu1') or \
-    ...             path == 'zope.app.component.menus.menu1':
+    ...             path == 'zope.app.publisher.menus.menu1':
     ...             return menu1
     ...         raise ConfigurationError('menu1')
 
@@ -54,7 +54,7 @@
     Test 1: Import the menu
     -----------------------
 
-    >>> field.fromUnicode('zope.app.component.menus.menu1') is menu1
+    >>> field.fromUnicode('zope.app.publisher.menus.menu1') is menu1
     True
 
     Test 2: We have a shortcut name. Import the menu from `zope.app.menus1`.



More information about the Checkins mailing list