[Checkins] SVN: z3c.listjs/trunk/ Preparing for release.

Martijn Faassen faassen at infrae.com
Thu Jan 8 13:11:44 EST 2009


Log message for revision 94632:
  Preparing for release.
  

Changed:
  U   z3c.listjs/trunk/CHANGES.txt
  A   z3c.listjs/trunk/README.txt
  U   z3c.listjs/trunk/setup.py

-=-
Modified: z3c.listjs/trunk/CHANGES.txt
===================================================================
--- z3c.listjs/trunk/CHANGES.txt	2009-01-08 17:25:03 UTC (rev 94631)
+++ z3c.listjs/trunk/CHANGES.txt	2009-01-08 18:11:44 UTC (rev 94632)
@@ -1,7 +1,7 @@
 CHANGES
 *******
 
-0.1 (unreleased)
-================
+1.0a1 (2009-01-08)
+==================
 
 * Initial public release.

Added: z3c.listjs/trunk/README.txt
===================================================================
--- z3c.listjs/trunk/README.txt	                        (rev 0)
+++ z3c.listjs/trunk/README.txt	2009-01-08 18:11:44 UTC (rev 94632)
@@ -0,0 +1,23 @@
+z3c.listjs
+**********
+
+z3c.listjs contains a widget called ``ListJsWidget`` that is a drop-in
+replacement for the ``zope.app.form.browser.ListSequenceWidget``. It
+allows users to add and remove list items without the need for server
+interaction, using Javascript.
+
+Note: This package only works with ``zope.formlib``
+(``zope.app.form``) and is not compatible with ``z3c.form``.
+
+You can use ``ListJsWidget`` for any ``schema.List`` field using the
+normal ``zope.formlib`` custom widget pattern::
+  
+  from z3c.listjs import ListJsWidget
+
+  ...
+
+  form_fields['foo'].custom_widget = ListJsWidget
+
+With  the  right   ZCML  override  it  should  also   be  possible  to
+automatically  use  this widget  in  all cases  ``ListSequenceWidget``
+would normally be used. Documentation contributions are welcome!

Modified: z3c.listjs/trunk/setup.py
===================================================================
--- z3c.listjs/trunk/setup.py	2009-01-08 17:25:03 UTC (rev 94631)
+++ z3c.listjs/trunk/setup.py	2009-01-08 18:11:44 UTC (rev 94632)
@@ -4,15 +4,35 @@
 def read(*rnames):
     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
+long_description = (
+    read('README.txt')
+    + '\n' +
+    read('CHANGES.txt')
+    + '\n' +
+    'Download\n'
+    '********\n'
+    )
+
+
 setup(
     name='z3c.listjs',
-    version='0.1dev',
+    version='1.0a1dev',
     description="A formlib list widget that uses Javascript",
-    classifiers=[],
-    keywords='',
+    long_description=long_description,
+    keywords='zope3 form widget',
     author='Martijn Faassen',
     author_email='faassen at startifact.com',
-    license='',
+    license='ZPL 2.1',
+    classifiers=[
+        'Development Status :: 3 - Alpha',
+        'Environment :: Web Environment',
+        'Intended Audience :: Developers',
+        'License :: OSI Approved :: Zope Public License',
+        'Programming Language :: Python',
+        'Natural Language :: English',
+        'Operating System :: OS Independent',
+        'Topic :: Internet :: WWW/HTTP',
+        'Framework :: Zope3'],
     packages=find_packages('src'),
     package_dir={'': 'src'},
     namespace_packages=['z3c'],



More information about the Checkins mailing list