[Checkins] SVN: z3c.formui/branches/1.4/ - Added missing test dependency to ``z3c.ptcompat [test]``.

Michael Howitz mh at gocept.com
Sat Mar 7 05:42:01 EST 2009


Log message for revision 97614:
  - Added missing test dependency to ``z3c.ptcompat [test]``.
  
  - Fixed tests, so they work together with the current version of
    ``z3c.pt``.
  
  - Reformatted long-description to render properly on pypi.
  
  

Changed:
  U   z3c.formui/branches/1.4/CHANGES.txt
  U   z3c.formui/branches/1.4/setup.py
  U   z3c.formui/branches/1.4/src/z3c/formui/README.txt

-=-
Modified: z3c.formui/branches/1.4/CHANGES.txt
===================================================================
--- z3c.formui/branches/1.4/CHANGES.txt	2009-03-07 10:33:34 UTC (rev 97613)
+++ z3c.formui/branches/1.4/CHANGES.txt	2009-03-07 10:42:01 UTC (rev 97614)
@@ -2,20 +2,31 @@
 CHANGES
 =======
 
-Version 1.4.2 (2008-08-26)
---------------------------
+1.4.3 (unreleased)
+------------------
 
+- Added missing test dependency to ``z3c.ptcompat [test]``.
+
+- Fixed tests, so they work together with the current version of
+  ``z3c.pt``.
+
+- Reformatted long-description to render properly on pypi.
+
+
+1.4.2 (2008-08-26)
+------------------
+
 - Bug: Corrected typos and unwanted unicode characters.
 
 
-Version 1.4.1 (2008-01-23)
---------------------------
+1.4.1 (2008-01-23)
+------------------
 
 - Fixed up meta-data and the release.
 
 
-Version 1.4.0 (2008-01-21)
---------------------------
+1.4.0 (2008-01-21)
+------------------
 
 - Feature: Added subform content and layout template. This allows you to
   configure real sub forms which do not render the form tag.
@@ -41,8 +52,8 @@
 - Bug: Added tests for layout templates.
 
 
-Version 1.3.0 (2007-08-24)
---------------------------
+1.3.0 (2007-08-24)
+------------------
 
 - Refactoring: Update CSS classes to reflect latest changes to the widget
   classes in ``z3c.form``.
@@ -56,23 +67,23 @@
   Leist for the report.
 
 
-Version 1.2.0 (2007-07-18)
---------------------------
+1.2.0 (2007-07-18)
+------------------
 
 - Feature: The row div element now also has an id of the form
   "<widget-id>-row".
 
 
-Version 1.1.1 (2007-07-04)
---------------------------
+1.1.1 (2007-07-04)
+------------------
 
 - Refactoring: Split up registrations for simpler management of UI
   components. This also makes it easier to see for developers how to create a
   new template for forms.
 
 
-Version 1.1.0 (2007-06-29)
---------------------------
+1.1.0 (2007-06-29)
+------------------
 
 - Feature: Registered all defined macros for each form template. Also, added
   more slots to the templates providing more hooks for customization.
@@ -85,15 +96,15 @@
 - Feature: Added support for groups to templates.
 
 
-Version 1.0.1 (2007-06-22)
---------------------------
+1.0.1 (2007-06-22)
+------------------
 
 - Bug: Make sure we use the id for the "for" attribute of the "label"
   element and not the name. This has worked until recently, because the
   name and id were the same, but they are different now.
 
 
-Version 1.0.0 (2007-05-24)
---------------------------
+1.0.0 (2007-05-24)
+------------------
 
 - Initial Release

Modified: z3c.formui/branches/1.4/setup.py
===================================================================
--- z3c.formui/branches/1.4/setup.py	2009-03-07 10:33:34 UTC (rev 97613)
+++ z3c.formui/branches/1.4/setup.py	2009-03-07 10:42:01 UTC (rev 97614)
@@ -16,25 +16,21 @@
 $Id$
 """
 import os
-import xml.sax.saxutils
 from setuptools import setup, find_packages
 
 def read(*rnames):
-    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)
+    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
 setup (
     name='z3c.formui',
-    version='1.4.2',
+    version='1.4.3dev',
     author = "Stephan Richter, Roger Ineichen and the Zope Community",
     author_email = "zope-dev at zope.org",
     description = "A set of initial UI components for z3c.form.",
     long_description=(
         read('README.txt')
         + '\n\n' +
-        'Detailed Documentation\n'
-        '**********************'
+        '.. contents::'
         + '\n\n' +
         read('src', 'z3c', 'formui', 'README.txt')
         + '\n\n' +
@@ -58,7 +54,8 @@
     package_dir = {'':'src'},
     namespace_packages = ['z3c'],
     extras_require = dict(
-        test = ['zope.testing'],
+        test = ['zope.app.testing',
+                'z3c.ptcompat [test]'],
         ),
     install_requires = [
         'setuptools',

Modified: z3c.formui/branches/1.4/src/z3c/formui/README.txt
===================================================================
--- z3c.formui/branches/1.4/src/z3c/formui/README.txt	2009-03-07 10:33:34 UTC (rev 97613)
+++ z3c.formui/branches/1.4/src/z3c/formui/README.txt	2009-03-07 10:42:01 UTC (rev 97614)
@@ -129,7 +129,7 @@
   ...     ILayoutTemplate)
 
   >>> layout
-  <zope.app.pagetemplate.viewpagetemplatefile.ViewPageTemplateFile object at ...>
+  <z3c.ptcompat.ViewPageTemplateFile object at ...>
 
 
 DIV-based Layout



More information about the Checkins mailing list