[Checkins] SVN: zope.size/trunk/ Fix package's description.
Dan Korostelev
nadako at gmail.com
Tue Feb 10 05:54:47 EST 2009
Log message for revision 96375:
Fix package's description.
Changed:
U zope.size/trunk/CHANGES.txt
U zope.size/trunk/README.txt
U zope.size/trunk/setup.py
-=-
Modified: zope.size/trunk/CHANGES.txt
===================================================================
--- zope.size/trunk/CHANGES.txt 2009-02-10 10:48:24 UTC (rev 96374)
+++ zope.size/trunk/CHANGES.txt 2009-02-10 10:54:46 UTC (rev 96375)
@@ -9,6 +9,8 @@
- Added docstrings
+- Beautify package's README and include CHANGES into the description.
+
- Changed package's url to PyPI instead of Subversion.
3.4.0 (2006-09-29)
Modified: zope.size/trunk/README.txt
===================================================================
--- zope.size/trunk/README.txt 2009-02-10 10:48:24 UTC (rev 96374)
+++ zope.size/trunk/README.txt 2009-02-10 10:54:46 UTC (rev 96375)
@@ -1,7 +1,6 @@
-zope.size Package Readme
-========================
+This package provides a definition of simple interface that allows to
+retrieve the size of the object for displaying and for sorting.
-Overview
---------
-
-Interfaces and adapters that give the size of an object.
+The default adapter is also provided. It expects objects to have the ``getSize``
+method that returns size in bytes, however, it won't crash if an object doesn't
+have one and will show size as ``not available`` instead.
Modified: zope.size/trunk/setup.py
===================================================================
--- zope.size/trunk/setup.py 2009-02-10 10:48:24 UTC (rev 96374)
+++ zope.size/trunk/setup.py 2009-02-10 10:54:46 UTC (rev 96375)
@@ -24,11 +24,13 @@
version = '3.4.1dev',
url='http://pypi.python.org/pypi/zope.size',
license='ZPL 2.1',
- description='Zope size',
+ description='Interfaces and simple adapter that give the size of an object',
author='Zope Corporation and Contributors',
author_email='zope-dev at zope.org',
- long_description="Interfaces and adapters that give the size of an object.",
-
+ long_description=\
+ open('README.txt').read() + \
+ '\n\n' + \
+ open('CHANGES.txt').read(),
packages=find_packages('src'),
package_dir = {'': 'src'},
namespace_packages=['zope'],
More information about the Checkins
mailing list