[Checkins] SVN: z3c.resourceinclude/trunk/ Preparing release.

Malthe Borch mborch at gmail.com
Mon Mar 3 09:29:03 EST 2008


Log message for revision 84440:
  Preparing release.

Changed:
  U   z3c.resourceinclude/trunk/README.txt
  U   z3c.resourceinclude/trunk/setup.py

-=-
Modified: z3c.resourceinclude/trunk/README.txt
===================================================================
--- z3c.resourceinclude/trunk/README.txt	2008-03-03 14:28:45 UTC (rev 84439)
+++ z3c.resourceinclude/trunk/README.txt	2008-03-03 14:29:03 UTC (rev 84440)
@@ -38,12 +38,18 @@
 included on the page.
 
 To render HTML snippets that include applicable resources, a content
-provider is provided, see ``z3c/resourceinclude/provide.py``.
+provider is provided, see ``z3c/resourceinclude/provide.py``. You may
+also use one of the viewlets::
 
+  <browser:viewlet
+     name="resourceinclude"
+     class="z3c.resourceinclude.viewlets.CacheOneHourViewlet"
+     permission="zope.View" />
+
 A convenience method is provided to require a given resource layer:
 
-   >>> from z3c.resourceinclude import provide
-   >>> provide(IMyLayer)
+   >>> from z3c.resourceinclude import include
+   >>> include(IMyLayer)
 
 Ordering
 --------

Modified: z3c.resourceinclude/trunk/setup.py
===================================================================
--- z3c.resourceinclude/trunk/setup.py	2008-03-03 14:28:45 UTC (rev 84439)
+++ z3c.resourceinclude/trunk/setup.py	2008-03-03 14:29:03 UTC (rev 84440)
@@ -1,7 +1,7 @@
 from setuptools import setup, find_packages
 import sys, os
 
-version = '0.2'
+version = '0.2.1'
 
 setup(name='z3c.resourceinclude',
       version=version,
@@ -28,6 +28,8 @@
       install_requires=[
           'setuptools',
           'zope.app.publisher',
+          'zope.app.cache',
+          'plone.memoize',
           'z3c.pt',
           # -*- Extra requirements: -*-
       ],



More information about the Checkins mailing list