[Checkins] SVN: zope.exceptions/trunk/ Improve the package meta-data.

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Oct 2 09:46:49 EDT 2007


Log message for revision 80491:
  Improve the package meta-data.
  

Changed:
  U   zope.exceptions/trunk/CHANGES.txt
  U   zope.exceptions/trunk/README.txt
  U   zope.exceptions/trunk/buildout.cfg
  U   zope.exceptions/trunk/setup.py

-=-
Modified: zope.exceptions/trunk/CHANGES.txt
===================================================================
--- zope.exceptions/trunk/CHANGES.txt	2007-10-02 13:40:53 UTC (rev 80490)
+++ zope.exceptions/trunk/CHANGES.txt	2007-10-02 13:46:48 UTC (rev 80491)
@@ -2,14 +2,39 @@
 Changes
 =======
 
-3.4.0b2 - (8/14/2007)
-=====================
+3.4.0 (2007-10-02)
+------------------
 
-  - Removed superfluous dependency on zope.deprecation.
+- Updated package meta-data.
 
-Before 3.4
-==========
 
-This package was part of the Zope 3 distribution and did not have its own
-CHANGES.txt. For earlier changes please refer to either our subversion log or
-the CHANGES.txt of earlier Zope 3 releases.
+3.4.0b2 (2007-08-14)
+--------------------
+
+- Removed superfluous dependency on ``zope.deprecation``.
+
+
+3.4.0b1 (2007-07-09)
+--------------------
+
+- Corresponds to the version of the ``zope.exceptions`` package shipped as
+  part of the Zope 3.4.0b1 release.
+
+
+3.2.0 (2006-01-05)
+------------------
+
+- Corresponds to the version of the ``zope.exceptions`` package shipped as part of
+  the Zope 3.2.0 release.
+
+- Deprecated the ``INotFoundError`` interface and the corresponding
+  ``NotFoundError`` exception class, in favor of "standard" exceptions
+  ``AttributeError``, ``KeyError``).  The deprecated items will be removed in
+  Zope 3.3.
+
+
+3.0.0 (2004-11-07)
+------------------
+
+- Corresponds to the version of the zope.exceptions package shipped as part of
+  the Zope X3.0.0 release.

Modified: zope.exceptions/trunk/README.txt
===================================================================
--- zope.exceptions/trunk/README.txt	2007-10-02 13:40:53 UTC (rev 80490)
+++ zope.exceptions/trunk/README.txt	2007-10-02 13:46:48 UTC (rev 80491)
@@ -1,28 +1,6 @@
+=======================
+General Zope Exceptions
+=======================
+
 This package contains exception interfaces and implementations which are so
 general purpose that they don't belong in Zope application-specific packages.
-
-CHANGES
-=======
-
-3.4.0b1 (2007-07-09)
---------------------
-
-Corresponds to the version of the zope.exceptions package shipped as
-part of the Zope 3.4.0b1 release.
-
-3.2.0 (2006-01-05)
-------------------
-
-Corresponds to the version of the zope.exceptions package shipped as part of
-the Zope 3.2.0 release.
-
-Deprecated the 'INotFoundError' interface and the corresponding
-'NotFoundError' exception class, in favor of "standard" exceptions
-AttributeError, KeyError).  The deprecated items will be removed in
-Zope 3.3.
-
-3.0.0 (2004-11-07)
-------------------
-
-Corresponds to the version of the zope.exceptions package shipped as part of
-the Zope X3.0.0 release.

Modified: zope.exceptions/trunk/buildout.cfg
===================================================================
--- zope.exceptions/trunk/buildout.cfg	2007-10-02 13:40:53 UTC (rev 80490)
+++ zope.exceptions/trunk/buildout.cfg	2007-10-02 13:46:48 UTC (rev 80491)
@@ -2,8 +2,6 @@
 develop = .
 parts = test
 
-find-links = http://download.zope.org/distribution/
-
 [test]
 recipe = zc.recipe.testrunner
 eggs = zope.exceptions

Modified: zope.exceptions/trunk/setup.py
===================================================================
--- zope.exceptions/trunk/setup.py	2007-10-02 13:40:53 UTC (rev 80490)
+++ zope.exceptions/trunk/setup.py	2007-10-02 13:46:48 UTC (rev 80491)
@@ -15,29 +15,44 @@
 
 $Id$
 """
-
 import os
-
 from setuptools import setup, find_packages
 
+def read(*rnames):
+    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
 setup(name='zope.exceptions',
-      version = '3.4.0b2',
-      url='http://svn.zope.org/zope.exceptions',
-      license='ZPL 2.1',
-      description='Zope Exceptions',
+      version = '3.4.0',
       author='Zope Corporation and Contributors',
       author_email='zope3-dev at zope.org',
-      long_description=open('README.txt').read(),
-
+      description='Zope Exceptions',
+      long_description=(
+          read('README.txt')
+          + '\n\n' +
+          read('CHANGES.txt')
+          ),
+      keywords = 'zope3 exceptions',
+      classifiers = [
+          'Development Status :: 5 - Production/Stable',
+          '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'],
+      url='http://cheeseshop.python.org/pypi/zope.exceptions',
+      license='ZPL 2.1',
       packages=find_packages('src'),
       package_dir = {'': 'src'},
-
-      namespace_packages=['zope',],
-      tests_require = ['zope.testing'],
+      namespace_packages=['zope'],
+      extras_require = dict(
+          test=['zope.testing'],
+          ),
       install_requires=['setuptools',
                         'zope.interface',
                        ],
       include_package_data = True,
-
       zip_safe = False,
       )



More information about the Checkins mailing list