[Checkins] SVN: z3c.formui/trunk/ A few corrections.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Wed Jan 23 17:00:05 EST 2008
Log message for revision 83133:
A few corrections.
Changed:
U z3c.formui/trunk/README.txt
U z3c.formui/trunk/setup.py
-=-
Modified: z3c.formui/trunk/README.txt
===================================================================
--- z3c.formui/trunk/README.txt 2008-01-23 21:56:06 UTC (rev 83132)
+++ z3c.formui/trunk/README.txt 2008-01-23 22:00:04 UTC (rev 83133)
@@ -1,7 +1,3 @@
-========================
-Form UI for ``z3c.form``
-========================
-
This package provides a set of default layouts for the ``z3c.form``
framework. In particular it provides a DIV-based and a TABLE-based layout. The
developer can use either layout by inheriting from a different base layer.
Modified: z3c.formui/trunk/setup.py
===================================================================
--- z3c.formui/trunk/setup.py 2008-01-23 21:56:06 UTC (rev 83132)
+++ z3c.formui/trunk/setup.py 2008-01-23 22:00:04 UTC (rev 83133)
@@ -16,10 +16,13 @@
$Id$
"""
import os
+import xml.sax.saxutils
from setuptools import setup, find_packages
def read(*rnames):
- return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+ text = open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+ text = unicode(text, 'latin-1').encode('ascii', 'xmlcharrefreplace')
+ return xml.sax.saxutils.escape(text)
setup (
name='z3c.formui',
@@ -30,6 +33,11 @@
long_description=(
read('README.txt')
+ '\n\n' +
+ 'Detailed Documentation\n'
+ '**********************'
+ + '\n\n' +
+ read('src', 'z3c', 'formui', 'README.txt')
+ + '\n\n' +
read('CHANGES.txt')
),
license = "ZPL 2.1",
More information about the Checkins
mailing list