[Zodb-checkins] SVN: ZODB/tags/3.10.0b7/setup.py Distutils 1 doesn't do unicode. Whimpler.
Jim Fulton
jim at zope.com
Tue Sep 28 14:08:29 EDT 2010
Log message for revision 117025:
Distutils 1 doesn't do unicode. Whimpler.
Changed:
U ZODB/tags/3.10.0b7/setup.py
-=-
Modified: ZODB/tags/3.10.0b7/setup.py
===================================================================
--- ZODB/tags/3.10.0b7/setup.py 2010-09-28 17:43:48 UTC (rev 117024)
+++ ZODB/tags/3.10.0b7/setup.py 2010-09-28 18:08:29 UTC (rev 117025)
@@ -165,6 +165,16 @@
file_path = (base_dir, ) + tuple(path)
return file(os.path.join(*file_path)).read()
+long_description = str(
+ ("\n".join(doclines[2:]) + "\n\n" +
+ ".. contents::\n\n" +
+ read_file("README.txt") + "\n\n" +
+ read_file("src", "CHANGES.txt")
+ ).decode('latin-1').replace(u'L\xf6wis', '|Lowis|')
+ )+ '''
+ .. |Lowis| unicode:: L\xf6wis
+ '''
+
setup(name="ZODB3",
version=VERSION,
maintainer="Zope Foundation and Contributors",
@@ -179,11 +189,7 @@
platforms = ["any"],
description = doclines[0],
classifiers = filter(None, classifiers.split("\n")),
- long_description = (
- "\n".join(doclines[2:]) + "\n\n" +
- ".. contents::\n\n" +
- read_file("README.txt") + "\n\n" +
- read_file("src", "CHANGES.txt")).decode('latin-1'),
+ long_description = long_description,
test_suite="__main__.alltests", # to support "setup.py test"
tests_require = ['zope.testing', 'manuel'],
extras_require = dict(test=['zope.testing', 'manuel']),
More information about the Zodb-checkins
mailing list