[Checkins] SVN: z3c.schema/trunk/ Prepare for release

Roger Ineichen roger at projekt01.ch
Sun Sep 14 18:43:34 EDT 2008


Log message for revision 91152:
  Prepare for release
  - added README.txt file
  - update CHANGES.txt
  - improved buildout and setup files

Changed:
  U   z3c.schema/trunk/CHANGES.txt
  A   z3c.schema/trunk/README.txt
  U   z3c.schema/trunk/buildout.cfg
  U   z3c.schema/trunk/setup.py

-=-
Modified: z3c.schema/trunk/CHANGES.txt
===================================================================
--- z3c.schema/trunk/CHANGES.txt	2008-09-14 22:42:03 UTC (rev 91151)
+++ z3c.schema/trunk/CHANGES.txt	2008-09-14 22:43:34 UTC (rev 91152)
@@ -1,13 +1,21 @@
-======================
-Changes for z3c.schema
-======================
+=======
+CHANGES
+=======
 
-2007/09/21 0.2.0:
-=================
 
+Version 0.5.0dev (unreleased)
+-----------------------------
+
+- Initial released on pypi
+
+
+Version 0.2.0 (2007-09-21)
+--------------------------
+
 - Feature: Added ``DateSelect`` field.
 
-2007/06/04 0.1.0:
-=================
 
+Version 0.1.0 (2007-06-04)
+--------------------------
+
 - Initial release

Added: z3c.schema/trunk/README.txt
===================================================================
--- z3c.schema/trunk/README.txt	                        (rev 0)
+++ z3c.schema/trunk/README.txt	2008-09-14 22:43:34 UTC (rev 91152)
@@ -0,0 +1 @@
+This package provides different additional Zope 3 schema fields.


Property changes on: z3c.schema/trunk/README.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: z3c.schema/trunk/buildout.cfg
===================================================================
--- z3c.schema/trunk/buildout.cfg	2008-09-14 22:42:03 UTC (rev 91151)
+++ z3c.schema/trunk/buildout.cfg	2008-09-14 22:43:34 UTC (rev 91152)
@@ -1,10 +1,27 @@
 [buildout]
 develop = . 
-parts = test
+parts = test checker coverage-test coverage-report
 
 [test]
 recipe = zc.recipe.testrunner
 eggs = z3c.schema [test]
 
+[checker]
+recipe = lovely.recipe:importchecker
+path = src/z3c/schema
 
 
+[coverage-test]
+recipe = zc.recipe.testrunner
+eggs = z3c.schema [test]
+defaults = ['--coverage', '../../coverage']
+
+
+[coverage-report]
+recipe = zc.recipe.egg
+eggs = z3c.coverage
+scripts = coverage=coverage-report
+arguments = ('coverage', 'coverage/report')
+
+
+

Modified: z3c.schema/trunk/setup.py
===================================================================
--- z3c.schema/trunk/setup.py	2008-09-14 22:42:03 UTC (rev 91151)
+++ z3c.schema/trunk/setup.py	2008-09-14 22:43:34 UTC (rev 91152)
@@ -1,25 +1,66 @@
-#!python
+##############################################################################
+#
+# Copyright (c) 2008 Zope Foundation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Setup
+
+$Id$
+"""
+import os
+import xml.sax.saxutils
 from setuptools import setup, find_packages
 
-setup(name='z3c.schema',
-      version='0.2',
-      author = "Zope Community",
+def read(*rnames):
+    text = open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+    return xml.sax.saxutils.escape(text)
+
+setup(
+    name = 'z3c.schema',
+    version = '0.5.0dev',
+    author = 'Zope Community',
       author_email = "zope3-dev at zope.org",
       description = "Additional schema fields for Zope 3",
-      license = "ZPL 2.1",
-      keywords = "zope zope3 schema fields",
-      url='http://svn.zope.org/z3c.schema',
-      zip_safe=False,
-      packages=find_packages('src'),
-      include_package_data=True,
-      package_dir = {'':'src'},
-      namespace_packages=['z3c',],
-      extras_require = dict(test=['zope.testing',
-                                  ]),
-      install_requires = ['setuptools',
-                          'zope.i18nmessageid',
-                          'zope.interface',
-                          'zope.schema',
-                          ],
-      )
-
+    long_description=(
+        read('README.txt')
+        + '\n\n' +
+        read('CHANGES.txt')
+        ),
+    license = 'ZPL 2.1',
+    keywords = 'zope zope3 z3c schema',
+    classifiers = [
+        'Development Status :: 4 - Beta',
+        'Environment :: Web Environment',
+        'Intended Audience :: Developers',
+        'License :: OSI Approved :: Zope Public License',
+        'Programming Language :: Python',
+        'Natural Language :: English',
+        'Operating System :: Microsoft :: Windows',
+        'Topic :: Internet :: WWW/HTTP',
+        'Framework :: Zope3'],
+    url = 'http://pypi.python.org/pypi/z3c.schema',
+    packages = find_packages('src'),
+    include_package_data=True,
+    package_dir = {'':'src'},
+    namespace_packages=['z3c',],
+    extras_require = dict(
+      test=[
+          'zope.testing',
+           ]
+    ),
+    install_requires = [
+      'setuptools',
+      'zope.i18nmessageid',
+      'zope.interface',
+      'zope.schema',
+      ],
+    zip_safe=False,
+)



More information about the Checkins mailing list