[Checkins] SVN: z3c.template/trunk/setup.py Added long description.

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue May 22 09:06:02 EDT 2007


Log message for revision 75867:
  Added long description.
  

Changed:
  U   z3c.template/trunk/setup.py

-=-
Modified: z3c.template/trunk/setup.py
===================================================================
--- z3c.template/trunk/setup.py	2007-05-22 12:33:36 UTC (rev 75866)
+++ z3c.template/trunk/setup.py	2007-05-22 13:06:01 UTC (rev 75867)
@@ -15,14 +15,26 @@
 
 $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='z3c.template',
     version='1.0',
     author = "Roger Ineichen and the Zope Community",
     author_email = "zope3-dev at zope.org",
     description = "A package implementing advanced Page Template patterns.",
+    long_description=(
+        read('README.txt')
+        + '\n' +
+        'Detailed Documentation\n'
+        '**********************\n'
+        + '\n' +
+        read('src', 'z3c', 'template', 'README.txt')
+        ),
     license = "ZPL 2.1",
     keywords = "zope3 template layout zpt pagetemplate",
     url = 'svn://svn.zope.org/repos/main/z3c.template',



More information about the Checkins mailing list