[Zodb-checkins] CVS: ZODB3 - setup.py:1.18

Jeremy Hylton jeremy@zope.com
Thu, 12 Sep 2002 18:28:19 -0400


Update of /cvs-repository/ZODB3
In directory cvs.zope.org:/tmp/cvs-serv25591

Modified Files:
	setup.py 
Log Message:
Add nonsense metadata to setup() to please sdist.

At least the documentation for distutils doesn't mention this stuff.



=== ZODB3/setup.py 1.17 => 1.18 ===
--- ZODB3/setup.py:1.17	Fri Aug 23 13:49:13 2002
+++ ZODB3/setup.py	Thu Sep 12 18:28:18 2002
@@ -11,6 +11,14 @@
 # FOR A PARTICULAR PURPOSE.
 #
 ##############################################################################
+"""Zope Object Database: object database and persistence
+
+The Zope Object Database provides an object-oriented database for
+Python that provides a high-degree of transparency. Applications can
+take advantage of object database features with few, if any, changes
+to application logic.  ZODB includes features such as a plugable storage
+interface, rich transaction support, and undo.
+"""
 
 import sys
 from distutils.core import setup
@@ -164,9 +172,10 @@
 if sys.hexversion >= 0x020200F0:
     ext_modules.append(bsddbhelper)
 
+doclines = __doc__.split("\n")
+
 setup(name="ZODB3",
       version="3.1b1",
-      description="Zope Object Database: object database and persistence",
       maintainer="Zope Corporation",
       maintainer_email="zodb-dev@zope.org",
       url = "http://www.zope.org/Wikis/ZODB/FrontPage",
@@ -174,4 +183,8 @@
       package_dir = package_dir,
       ext_modules = ext_modules,
       headers = ['ExtensionClass/src/ExtensionClass.h', 'ZODB/cPersistence.h'],
+      license = "http://www.zope.org/Resources/ZPL",
+      platforms = ["yes"], #
+      description = doclines[0],
+      long_description = "\n".join(doclines[2:])
       )