[Checkins] SVN: zc.recipe.cmmi/trunk/setup.py Updated release info.

Jim Fulton jim at zope.com
Wed Nov 22 07:14:57 EST 2006


Log message for revision 71265:
  Updated release info.
  
  Added zip_safe flag.
  

Changed:
  U   zc.recipe.cmmi/trunk/setup.py

-=-
Modified: zc.recipe.cmmi/trunk/setup.py
===================================================================
--- zc.recipe.cmmi/trunk/setup.py	2006-11-22 12:14:54 UTC (rev 71264)
+++ zc.recipe.cmmi/trunk/setup.py	2006-11-22 12:14:56 UTC (rev 71265)
@@ -1,23 +1,53 @@
+##############################################################################
+#
+# Copyright (c) 2006 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+
+import os
 from setuptools import setup, find_packages
 
+def read(*rnames):
+    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
 name = "zc.recipe.cmmi"
 setup(
     name = name,
-    version = "1.0",
+    version = "1.0.1",
     author = "Jim Fulton",
     author_email = "jim at zope.com",
     description = "ZC Buildout recipe for configure/make/make install",
-    long_description = open('README.txt').read(),
     license = "ZPL 2.1",
     keywords = "zope3",
-    url='http://svn.zope.org/'+name,
+    url='http://www.python.org/pypi/'+name,
+    long_description=(
+        read('README.txt')
+        + '\n' +
+        read('CHANGES.txt')
+        + '\n' +
+        'Detailed Documentation\n'
+        '**********************\n'
+        + '\n' +
+        read('zc', 'recipe', 'cmmi', 'README.txt')
+        + '\n' +
+        'Download\n'
+        '**********************\n'
+        ),
 
     packages = find_packages(),
     include_package_data = True,
     data_files = [('.', ['README.txt'])],
     namespace_packages = ['zc', 'zc.recipe'],
     install_requires = ['zc.buildout', 'setuptools'],
-    dependency_links = ['http://download.zope.org/distribution/'],
     entry_points = {'zc.buildout':
                     ['default = %s:Recipe' % name]},
+    zip_safe = True,
     )



More information about the Checkins mailing list