[Checkins] SVN: zope.interface/trunk/setup.py Write
long_description to a text file so it can be tested against the
Jim Fulton
jim at zope.com
Tue Oct 2 08:11:37 EDT 2007
Log message for revision 80479:
Write long_description to a text file so it can be tested against the
RST processor.
Changed:
U zope.interface/trunk/setup.py
-=-
Modified: zope.interface/trunk/setup.py
===================================================================
--- zope.interface/trunk/setup.py 2007-10-02 12:11:31 UTC (rev 80478)
+++ zope.interface/trunk/setup.py 2007-10-02 12:11:37 UTC (rev 80479)
@@ -19,7 +19,7 @@
import os, sys
try:
- from setuptools import setup, Extension, find_packages
+ from setuptools import setup, Extension
except ImportError, e:
from distutils.core import setup, Extension
@@ -45,14 +45,7 @@
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-setup(name='zope.interface',
- version = '3.4.1',
- url='http://www.python.org/pypi/zope.interface',
- license='ZPL 2.1',
- description='Zope 3 Interface Infrastructure',
- author='Zope Corporation and Contributors',
- author_email='zope3-dev at zope.org',
- long_description=(
+long_description=(
read('README.txt')
+ '\n' +
read('CHANGES.txt')
@@ -68,9 +61,20 @@
+ '\n' +
'Download\n'
'**********************\n'
- ),
+ )
- packages=find_packages('src'),
+open('documentation.txt', 'w').write(long_description)
+
+setup(name='zope.interface',
+ version = '3.4.1',
+ url='http://www.python.org/pypi/zope.interface',
+ license='ZPL 2.1',
+ description='Zope 3 Interface Infrastructure',
+ author='Zope Corporation and Contributors',
+ author_email='zope3-dev at zope.org',
+ long_description=long_description,
+
+ packages = ['zope', 'zope.interface'],
package_dir = {'': 'src'},
ext_package='zope.interface',
ext_modules=[Extension("_zope_interface_coptimizations",
More information about the Checkins
mailing list