[Checkins] SVN: zope.testbrowser/trunk/setup.py * Change homepage from svn.zope.org to PyPI

Philipp von Weitershausen philikon at philikon.de
Sat Sep 1 09:44:52 EDT 2007


Log message for revision 79419:
  * Change homepage from svn.zope.org to PyPI
  * Improve description
  * Generate long_description from the two README files
  * Add Trove classifiers
  

Changed:
  U   zope.testbrowser/trunk/setup.py

-=-
Modified: zope.testbrowser/trunk/setup.py
===================================================================
--- zope.testbrowser/trunk/setup.py	2007-09-01 13:37:27 UTC (rev 79418)
+++ zope.testbrowser/trunk/setup.py	2007-09-01 13:44:52 UTC (rev 79419)
@@ -15,22 +15,33 @@
 
 $Id$
 """
-
+import os
 from setuptools import setup, find_packages
 
+long_description = (
+    '.. contents::\n\n'
+    + open('README.txt').read()
+    + '\n\n'
+    + open(os.path.join('src', 'zope', 'testbrowser', 'README.txt')).read()
+    )
+
 setup(
     name = 'zope.testbrowser',
     version = '3.4.1',
-    url = 'http://svn.zope.org/zope.testbrowser',
+    url = 'http://pypi.python.org/pypi/zope.testbrowser',
     license = 'ZPL 2.1',
-    description = 'Zope testbrowser',
+    description = 'Programmable browser for functional black-box tests',
     author = 'Zope Corporation and Contributors',
     author_email = 'zope3-dev at zope.org',
-    long_description = 'An easy to use programmatic web browser'
-        ' with special focus on testing. Used in Zope 3, but not Zope'
-        ' specific.  The zope.testbrowser package used in the Zope 3'
-        ' project for functional testing; this stand-alone version can be'
-        ' used to test or otherwise interact with any web site.',
+    long_description = long_description,
+    classifiers=['Environment :: Web Environment',
+                 'Intended Audience :: Developers',
+                 'License :: OSI Approved :: Zope Public License',
+                 'Programming Language :: Python',
+                 'Topic :: Software Development :: Testing',
+                 'Topic :: Internet :: WWW/HTTP',
+                 ],
+
     packages = find_packages('src'),
     package_dir = {'': 'src'},
     namespace_packages = ['zope',],



More information about the Checkins mailing list