[Checkins] SVN: five.pt/trunk/ Preparing release.
Malthe Borch
mborch at gmail.com
Wed Nov 19 08:43:38 EST 2008
Log message for revision 93138:
Preparing release.
Changed:
U five.pt/trunk/CHANGES.txt
U five.pt/trunk/README.txt
U five.pt/trunk/setup.py
-=-
Modified: five.pt/trunk/CHANGES.txt
===================================================================
--- five.pt/trunk/CHANGES.txt 2008-11-19 13:25:47 UTC (rev 93137)
+++ five.pt/trunk/CHANGES.txt 2008-11-19 13:43:38 UTC (rev 93138)
@@ -4,6 +4,11 @@
HEAD
----
+five.pt 0.1 (released 11/19/2008)
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+- Initial release.
+
- Simplified template class inheritance. [malthe]
- Added ``path`` and ``exists`` functions to skin template
Modified: five.pt/trunk/README.txt
===================================================================
--- five.pt/trunk/README.txt 2008-11-19 13:25:47 UTC (rev 93137)
+++ five.pt/trunk/README.txt 2008-11-19 13:43:38 UTC (rev 93138)
@@ -1,23 +1,33 @@
Overview
========
-The five.pt package brings the z3c.pt package into the Zope 2 world,
-using Zope 2 conventions.
+The five.pt package brings the Chameleon template engine to Zope
+2. It's a drop-in replacement, providing bridges to the most common
+API.
-You can use z3c.pt out of the box with Zope 2 as well.
+Support for CMF skin templates, browser pages, viewlets and viewlet
+managers is included.
-Use
-===
+Usage
+-----
-It's very easy. To define a view which use a five.pt template::
+To enable Chameleon, simply include the ZCML configuration::
+ <include package="five.pt" file="meta.zcml" />
+ <include package="five.pt" />
+
+Tempates may be instantiated directly. Here's an example of a browser
+view which uses a view page template::
+
from Products.Five import BrowserView
from five.pt.pagetemplate import ViewPageTemplateFile
class SimpleView(BrowserView):
-
index = ViewPageTemplateFile('simple.pt')
+Other template classes are available, see the ``pagetemplate``
+module.
-``ViewPageTemplate`` is defined as well and takes a string as template
-code. For more information, please refer to z3c.pt documentation.
+For general information about Chameleon, see
+http://chameleon.repoze.org/.
+
Modified: five.pt/trunk/setup.py
===================================================================
--- five.pt/trunk/setup.py 2008-11-19 13:25:47 UTC (rev 93137)
+++ five.pt/trunk/setup.py 2008-11-19 13:43:38 UTC (rev 93138)
@@ -4,7 +4,7 @@
setup(name='five.pt',
version=version,
- description="Five bridges for the z3c.pt package.",
+ description="Five bridges and patches to use Chameleon with Zope 2 and CMF.",
long_description=open("README.txt").read() + open("CHANGES.txt").read(),
classifiers=[
"Framework :: Zope2",
@@ -14,8 +14,8 @@
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords='',
- author='Hanno Schlichting',
- author_email='hannosch at gmail.com',
+ author='Hanno Schlichting, Malthe Borch and the Zope community',
+ author_email='zope-dev at zope.org',
url='',
license='ZPL',
namespace_packages=['five'],
More information about the Checkins
mailing list