[Checkins] SVN: zc.buildout/trunk/setup.py Fixed a bug in reading doc files to create a lng desription. Relative

Jim Fulton jim at zope.com
Sun Oct 1 13:46:42 EDT 2006


Log message for revision 70462:
  Fixed a bug in reading doc files to create a lng desription.  Relative
  paths were used, causing setup to fail when run from a different
  directory.
  
  Updated release information.
  

Changed:
  U   zc.buildout/trunk/setup.py

-=-
Modified: zc.buildout/trunk/setup.py
===================================================================
--- zc.buildout/trunk/setup.py	2006-10-01 17:46:39 UTC (rev 70461)
+++ zc.buildout/trunk/setup.py	2006-10-01 17:46:41 UTC (rev 70462)
@@ -1,26 +1,32 @@
 import os
 from setuptools import setup, find_packages
 
+def read(*rnames):
+    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
 name = "zc.buildout"
 setup(
     name = name,
-    version = "1.0.0b7",
+    version = "1.0.0b8",
     author = "Jim Fulton",
     author_email = "jim at zope.com",
     description = "System for managing development buildouts",
     long_description=(
-        open('README.txt').read()
+        read('README.txt')
         + '\n' +
-        open('CHANGES.txt').read()
+        read('CHANGES.txt')
         + '\n' +
         'Detailed Documentation\n'
         '**********************\n'
         + '\n' +
-        open(os.path.join('src', 'zc', 'buildout', 'buildout.txt')).read()
+        read('src', 'zc', 'buildout', 'buildout.txt')
         + '\n' +
-        open(os.path.join('src', 'zc', 'buildout', 'update.txt')).read()
+        read('src', 'zc', 'buildout', 'update.txt')
         + '\n' +
-        open(os.path.join('src', 'zc', 'buildout', 'testing.txt')).read()
+        read('src', 'zc', 'buildout', 'testing.txt')
+        + '\n' +
+        'Download\n'
+        '**********************\n'
         ),
     license = "ZPL 2.1",
     keywords = "development build",
@@ -36,7 +42,6 @@
     test_suite = name+'.tests.test_suite',
     entry_points = {'console_scripts':
                     ['buildout = %s.buildout:main' % name]}, 
-#    dependency_links = ['http://download.zope.org/distribution/'],
     zip_safe=False,
     classifiers = [
        'Development Status :: 4 - Beta',



More information about the Checkins mailing list