[Checkins] SVN: z3c.securitytool/trunk/setup.py cleaned up long description

Michael Howitz mh at gocept.com
Thu Oct 21 02:23:09 EDT 2010


Log message for revision 117795:
  cleaned up long description
  

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

-=-
Modified: z3c.securitytool/trunk/setup.py
===================================================================
--- z3c.securitytool/trunk/setup.py	2010-10-20 09:06:41 UTC (rev 117794)
+++ z3c.securitytool/trunk/setup.py	2010-10-21 06:23:08 UTC (rev 117795)
@@ -21,7 +21,7 @@
 
 def read(*rnames):
     text = open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-    return xml.sax.saxutils.escape(text)
+    return text + '\n\n'
 
 readmeText = read('./src/z3c/securitytool/README.txt')
 
@@ -32,10 +32,9 @@
     author_email = "zope-dev at zope.org",
     description = "A security audit tool and demo for Zope3 views",
     long_description=(
-        read('README.txt')
-        + '\n\n'
-        + '\n' + readmeText
-        + '\n\n' +
+        '.. contents::\n\n' +
+        read('README.txt') +
+        read('src', 'z3c', 'securitytool', 'README.txt')+
         read('CHANGES.txt')
         ),
     license = "ZPL 2.1",



More information about the checkins mailing list