[Checkins] SVN: zam.api/trunk/ - Fixed package metadata, added doctests top `long_description`.

Michael Howitz mh at gocept.com
Tue Dec 21 03:29:21 EST 2010


Log message for revision 119025:
  - Fixed package metadata, added doctests top `long_description`.
  
  

Changed:
  U   zam.api/trunk/CHANGES.txt
  U   zam.api/trunk/setup.py
  U   zam.api/trunk/src/zam/api/browser/README.txt

-=-
Modified: zam.api/trunk/CHANGES.txt
===================================================================
--- zam.api/trunk/CHANGES.txt	2010-12-21 08:22:57 UTC (rev 119024)
+++ zam.api/trunk/CHANGES.txt	2010-12-21 08:29:20 UTC (rev 119025)
@@ -15,6 +15,8 @@
 - Using Python's ``doctest`` module instead of depreacted
   ``zope.testing.doctestunit``.
 
+- Fixed package metadata, added doctests top `long_description`.
+
 Version 0.6.1 (2009-07-06)
 --------------------------
 

Modified: zam.api/trunk/setup.py
===================================================================
--- zam.api/trunk/setup.py	2010-12-21 08:22:57 UTC (rev 119024)
+++ zam.api/trunk/setup.py	2010-12-21 08:29:20 UTC (rev 119025)
@@ -19,18 +19,21 @@
 from setuptools import setup, find_packages
 
 def read(*rnames):
-    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+    data = open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+    return data + '\n\n'
 
 setup (
     name='zam.api',
-    version='0.6.2dev',
+    version='0.7.0dev',
     author = "Stephan Richter, Roger Ineichen and the Zope Community",
-    author_email = "zope3-dev at zope.org",
+    author_email = "zope-dev at zope.org",
     description = "API for ZAM (Zope Application Management",
     long_description=(
-        read('README.txt')
-        + '\n\n' +
-        read('CHANGES.txt')
+        read('README.txt') +
+        '.. contents::\n\n' +
+        read('CHANGES.txt') +
+        read('src', 'zam', 'api', 'browser', 'README.txt') +
+        read('src', 'zam', 'api', 'README.txt')
         ),
     license = "ZPL 2.1",
     keywords = "zope3 z3c zam api",
@@ -44,7 +47,7 @@
         'Operating System :: OS Independent',
         'Topic :: Internet :: WWW/HTTP',
         'Framework :: Zope3'],
-    url = 'http://cheeseshop.python.org/pypi/zam.api',
+    url = 'http://pypi.python.org/pypi/zam.api',
     packages = find_packages('src'),
     include_package_data = True,
     package_dir = {'':'src'},

Modified: zam.api/trunk/src/zam/api/browser/README.txt
===================================================================
--- zam.api/trunk/src/zam/api/browser/README.txt	2010-12-21 08:22:57 UTC (rev 119024)
+++ zam.api/trunk/src/zam/api/browser/README.txt	2010-12-21 08:29:20 UTC (rev 119025)
@@ -1,6 +1,6 @@
-======
-README
-======
+=======
+zam.api
+=======
 
 This package contains the Zope Application Management api. We support a test
 skin for this package which allows us to test the plugin management page.



More information about the checkins mailing list