[Checkins] SVN: zope.lifecycleevent/trunk/ Removed duplicated documentation. Fix docs formatting. Remove unused import. Update package's description and docs.

Dan Korostelev nadako at gmail.com
Mon Mar 9 14:29:28 EDT 2009


Log message for revision 97711:
  Removed duplicated documentation. Fix docs formatting. Remove unused import. Update package's description and docs.

Changed:
  U   zope.lifecycleevent/trunk/CHANGES.txt
  U   zope.lifecycleevent/trunk/README.txt
  U   zope.lifecycleevent/trunk/setup.py
  U   zope.lifecycleevent/trunk/src/zope/lifecycleevent/README.txt
  U   zope.lifecycleevent/trunk/src/zope/lifecycleevent/__init__.py

-=-
Modified: zope.lifecycleevent/trunk/CHANGES.txt
===================================================================
--- zope.lifecycleevent/trunk/CHANGES.txt	2009-03-09 17:08:06 UTC (rev 97710)
+++ zope.lifecycleevent/trunk/CHANGES.txt	2009-03-09 18:29:27 UTC (rev 97711)
@@ -1,5 +1,6 @@
-Change History
-==============
+=======
+CHANGES
+=======
 
 3.5.1 (unreleased)
 ------------------
@@ -9,6 +10,8 @@
 - Change package's mailing list address to zope-dev at zope.org, as
   zope3-dev at zope.org is now retired. 
 
+- Update package's description and documentation.
+
 3.5.0 (2009-01-31)
 ------------------
 

Modified: zope.lifecycleevent/trunk/README.txt
===================================================================
--- zope.lifecycleevent/trunk/README.txt	2009-03-09 17:08:06 UTC (rev 97710)
+++ zope.lifecycleevent/trunk/README.txt	2009-03-09 18:29:27 UTC (rev 97711)
@@ -1,13 +1 @@
-zope.lifecycleevent
-*******************
-
-.. contents::
-
-Overview
-========
-
-In Zope 3, events are used by components to inform each other about
-relevant new objects and object modifications.
-
-To keep all subscribers up to date it is indispensable that the life
-cycle of an object is accompanied by various events.
+See src/zope/lifecycleevent/README.txt.

Modified: zope.lifecycleevent/trunk/setup.py
===================================================================
--- zope.lifecycleevent/trunk/setup.py	2009-03-09 17:08:06 UTC (rev 97710)
+++ zope.lifecycleevent/trunk/setup.py	2009-03-09 18:29:27 UTC (rev 97711)
@@ -15,28 +15,12 @@
 
 $Id$
 """
-
 import os
-
 from setuptools import setup, find_packages
 
 def read(*rnames):
     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
-long_description = (
-    read('README.txt')
-    + '\n' +
-    read('CHANGES.txt')
-    + '\n' +
-    'Detailed Documentation\n'
-    '**********************\n'
-    + '\n' +
-    read('src', 'zope', 'lifecycleevent', 'README.txt')
-    + '\n' +
-    'Download\n'
-    '********\n'
-    )
-
 setup(
     name='zope.lifecycleevent',
     version='3.5.1dev',
@@ -53,8 +37,11 @@
         'Topic :: Internet :: WWW/HTTP',
         'Topic :: Software Development',
         ],
-    description='Life-cycle events',
-    long_description=long_description,
+    description='Object life-cycle events',
+    long_description=\
+        read('src', 'zope', 'lifecycleevent', 'README.txt')
+        + '\n\n' +
+        read('CHANGES.txt'),
 
     packages=find_packages('src'),
     package_dir={'': 'src'},

Modified: zope.lifecycleevent/trunk/src/zope/lifecycleevent/README.txt
===================================================================
--- zope.lifecycleevent/trunk/src/zope/lifecycleevent/README.txt	2009-03-09 17:08:06 UTC (rev 97710)
+++ zope.lifecycleevent/trunk/src/zope/lifecycleevent/README.txt	2009-03-09 18:29:27 UTC (rev 97711)
@@ -1,3 +1,4 @@
+=================
 Life-cycle events
 =================
 

Modified: zope.lifecycleevent/trunk/src/zope/lifecycleevent/__init__.py
===================================================================
--- zope.lifecycleevent/trunk/src/zope/lifecycleevent/__init__.py	2009-03-09 17:08:06 UTC (rev 97710)
+++ zope.lifecycleevent/trunk/src/zope/lifecycleevent/__init__.py	2009-03-09 18:29:27 UTC (rev 97711)
@@ -18,9 +18,9 @@
 __docformat__ = 'restructuredtext'
 
 import zope.component.interfaces
-from zope.component import subscribers
 from zope.interface import implements
 from zope.event import notify
+
 from zope.lifecycleevent.interfaces import IObjectCreatedEvent
 from zope.lifecycleevent.interfaces import IObjectModifiedEvent
 from zope.lifecycleevent.interfaces import IObjectCopiedEvent



More information about the Checkins mailing list