[Checkins] SVN: z3c.etestbrowser/trunk/ - Added doctest to `long_description` to show up on pypi.

Michael Howitz mh at gocept.com
Mon Jan 18 14:52:36 EST 2010


Log message for revision 108219:
  - Added doctest to `long_description` to show up on pypi.
  - Cleaned up ReST of long_description to render properly on pypi.
  

Changed:
  U   z3c.etestbrowser/trunk/CHANGES.txt
  U   z3c.etestbrowser/trunk/README.txt
  U   z3c.etestbrowser/trunk/setup.py
  U   z3c.etestbrowser/trunk/src/z3c/etestbrowser/README.txt

-=-
Modified: z3c.etestbrowser/trunk/CHANGES.txt
===================================================================
--- z3c.etestbrowser/trunk/CHANGES.txt	2010-01-18 19:52:18 UTC (rev 108218)
+++ z3c.etestbrowser/trunk/CHANGES.txt	2010-01-18 19:52:36 UTC (rev 108219)
@@ -3,12 +3,12 @@
 =======
 
 1.4.0 (unreleased)
-------------------
+==================
 
-- ...
+- Added doctest to `long_description` to show up on pypi.
 
 1.3.0 (2009-07-23)
-------------------
+==================
 
 - Updgraded pacakge to lxml 2.2.
 
@@ -16,7 +16,7 @@
   of test browser if content wasn't parsable as HTML/XML.
 
 1.2.0 (2008-05-29)
-------------------
+==================
 
 - Added `normalized_contents` attribute that reindents and normalizes the
   etree structure of a document and allows easier to read HTML/XML examples in

Modified: z3c.etestbrowser/trunk/README.txt
===================================================================
--- z3c.etestbrowser/trunk/README.txt	2010-01-18 19:52:18 UTC (rev 108218)
+++ z3c.etestbrowser/trunk/README.txt	2010-01-18 19:52:36 UTC (rev 108219)
@@ -6,7 +6,9 @@
 testbrowser. Especially those extensions that introduce dependencies to more
 external products, like lxml.
 
+.. contents::
+
 Extension: lxml-support
------------------------
+=======================
 
 All HTML pages are parsed and provided as an element-tree.

Modified: z3c.etestbrowser/trunk/setup.py
===================================================================
--- z3c.etestbrowser/trunk/setup.py	2010-01-18 19:52:18 UTC (rev 108218)
+++ z3c.etestbrowser/trunk/setup.py	2010-01-18 19:52:36 UTC (rev 108219)
@@ -29,6 +29,8 @@
       long_description=(
           read('README.txt')
           + '\n\n' +
+          read('src', 'z3c', 'etestbrowser', 'README.txt')
+          + '\n\n' +
           read('CHANGES.txt')
           ),
       keywords = "zope3 testbrowser lxml",

Modified: z3c.etestbrowser/trunk/src/z3c/etestbrowser/README.txt
===================================================================
--- z3c.etestbrowser/trunk/src/z3c/etestbrowser/README.txt	2010-01-18 19:52:18 UTC (rev 108218)
+++ z3c.etestbrowser/trunk/src/z3c/etestbrowser/README.txt	2010-01-18 19:52:36 UTC (rev 108219)
@@ -4,7 +4,7 @@
 
 This package provides some extensions to Zope 3's testbrowser. It is intended
 for extensions that have dependencies that we do not want to rely on in the
-  Zope 3 core e.g. lxml.
+Zope 3 core e.g. lxml.
 
 
 Requirements
@@ -22,7 +22,7 @@
 This is useful to perform more detailed analysis of web pages using e.g. XPath
 and related XML technologies.
 
-Example::
+Example:
 
   >>> from z3c.etestbrowser.testing import ExtendedTestBrowser
   >>> browser = ExtendedTestBrowser()
@@ -40,7 +40,7 @@
 Strict XML
 ----------
 
-It is possible to force the test browser to use the xml parser::
+It is possible to force the test browser to use the xml parser:
 
   >>> browser.xml_strict
   False



More information about the checkins mailing list