[Checkins] SVN: five.customerize/trunk/ update package metadata and avoid dependencies on zope.app.container and zope.app.component

David Glick davidglick at onenw.org
Sat May 1 21:42:49 EDT 2010


Log message for revision 111855:
  update package metadata and avoid dependencies on zope.app.container and zope.app.component

Changed:
  U   five.customerize/trunk/CHANGES.txt
  U   five.customerize/trunk/README.txt
  U   five.customerize/trunk/setup.py
  U   five.customerize/trunk/src/five/customerize/browser.txt
  U   five.customerize/trunk/src/five/customerize/configure.zcml
  U   five.customerize/trunk/src/five/customerize/customerize.txt
  U   five.customerize/trunk/src/five/customerize/zpt.py

-=-
Modified: five.customerize/trunk/CHANGES.txt
===================================================================
--- five.customerize/trunk/CHANGES.txt	2010-05-01 23:15:20 UTC (rev 111854)
+++ five.customerize/trunk/CHANGES.txt	2010-05-02 01:42:48 UTC (rev 111855)
@@ -1,14 +1,18 @@
 CHANGES
 =======
 
-1.0b1 - Unreleased
+1.0b1 - 2010-05-01
 ------------------
 
+Updated imports to avoid dependencies on zope.app.component and
+zope.app.container. [davisagli]
+
 Fixed a memory leak by making sure that TTW view subclasses are only
-generated once, rather than once per request.
+generated once, rather than once per request. [davisagli]
 
 Make sure TTW viewlet and portlet classes get the containing view as the
 view parameter on initialization, rather than getting themselves.
+[davisagli]
 
 1.0a1 - 2009-11-14
 ------------------

Modified: five.customerize/trunk/README.txt
===================================================================
--- five.customerize/trunk/README.txt	2010-05-01 23:15:20 UTC (rev 111854)
+++ five.customerize/trunk/README.txt	2010-05-02 01:42:48 UTC (rev 111855)
@@ -8,16 +8,6 @@
 Template-based browser views, much like it is possible to customize
 file-system based view templates in the CMF's portal_skin tools.
 
-Changes
--------
-
-See CHANGES.txt.
-
-Installation
-------------
-
-See INSTALL.txt.
-
 Developer Resources
 -------------------
 

Modified: five.customerize/trunk/setup.py
===================================================================
--- five.customerize/trunk/setup.py	2010-05-01 23:15:20 UTC (rev 111854)
+++ five.customerize/trunk/setup.py	2010-05-02 01:42:48 UTC (rev 111855)
@@ -20,8 +20,10 @@
 setup(name = 'five.customerize',
       version = version,
       description = 'TTW customization of template-based Zope views',
+      long_description = (open('README.txt').read() + "\n" +
+                          open('CHANGES.txt').read()),
       keywords = 'zope views templates customization ttw',
-      author = 'Zope Corporation and Contributors',
+      author = 'Zope Foundation and Contributors',
       author_email = 'z3-five at codespeak.net',
       url = 'http://pypi.python.org/pypi/five.customerize',
       license = 'ZPL 2.1',
@@ -35,16 +37,17 @@
         'setuptools',
         'plone.portlets',
         'zope.component',
+        'zope.componentvocabulary',
         'zope.dottedname',
         'zope.interface',
+        'zope.lifecycleevent',
         'zope.pagetemplate',
         'zope.publisher',
         'zope.schema',
+        'zope.site',
         'zope.testing',
         'zope.traversing',
         'zope.viewlet',
-        'zope.app.component',
-        'zope.app.container',
         'zope.app.pagetemplate',
         'transaction',
         'Acquisition',
@@ -54,14 +57,9 @@
         'Development Status :: 5 - Production/Stable',
         'Environment :: Web Environment',
         'Framework :: Zope2',
-        'Intended Audience :: Other Audience',
-        'Intended Audience :: System Administrators',
         'License :: OSI Approved :: Zope Public License',
         'Operating System :: OS Independent',
         'Programming Language :: Python',
         'Topic :: Internet :: WWW/HTTP :: Site Management',
       ],
-      long_description = """\
-        """,
 )
-

Modified: five.customerize/trunk/src/five/customerize/browser.txt
===================================================================
--- five.customerize/trunk/src/five/customerize/browser.txt	2010-05-01 23:15:20 UTC (rev 111854)
+++ five.customerize/trunk/src/five/customerize/browser.txt	2010-05-02 01:42:48 UTC (rev 111855)
@@ -20,7 +20,7 @@
 
 Enable local component lookup hooks:
 
-    >>> from zope.app.component.hooks import setHooks
+    >>> from zope.site.hooks import setHooks
     >>> setHooks()
 
 

Modified: five.customerize/trunk/src/five/customerize/configure.zcml
===================================================================
--- five.customerize/trunk/src/five/customerize/configure.zcml	2010-05-01 23:15:20 UTC (rev 111854)
+++ five.customerize/trunk/src/five/customerize/configure.zcml	2010-05-02 01:42:48 UTC (rev 111855)
@@ -15,7 +15,7 @@
       />
 
   <utility
-      component="zope.app.component.vocabulary.InterfacesVocabulary"
+      component="zope.componentvocabulary.vocabulary.InterfacesVocabulary"
       name="Interfaces"
       />
 

Modified: five.customerize/trunk/src/five/customerize/customerize.txt
===================================================================
--- five.customerize/trunk/src/five/customerize/customerize.txt	2010-05-01 23:15:20 UTC (rev 111854)
+++ five.customerize/trunk/src/five/customerize/customerize.txt	2010-05-02 01:42:48 UTC (rev 111855)
@@ -159,7 +159,7 @@
 In order to be able to look up the customized view now, we need to
 make the site the current site:
 
-  >>> from zope.app.component.hooks import setSite
+  >>> from zope.site.hooks import setSite
   >>> setSite(site)
 
 The newly registered adapter has an explicit security check that

Modified: five.customerize/trunk/src/five/customerize/zpt.py
===================================================================
--- five.customerize/trunk/src/five/customerize/zpt.py	2010-05-01 23:15:20 UTC (rev 111854)
+++ five.customerize/trunk/src/five/customerize/zpt.py	2010-05-02 01:42:48 UTC (rev 111855)
@@ -1,7 +1,7 @@
 from zope.component import adapter, getSiteManager
 from zope.viewlet.viewlet import ViewletBase
 from Products.PageTemplates.ZopePageTemplate import ZopePageTemplate
-from zope.app.container.interfaces import IObjectRemovedEvent
+from zope.lifecycleevent.interfaces import IObjectRemovedEvent
 from zope.viewlet.interfaces import IViewlet, IViewletManager
 from zope.interface import implements
 



More information about the checkins mailing list