[Zodb-checkins] SVN: ZODB/trunk/setup.py Copied unicode flails from 10.0.0b7 tag.
Jim Fulton
jim at zope.com
Tue Sep 28 15:08:39 EDT 2010
Log message for revision 117029:
Copied unicode flails from 10.0.0b7 tag.
Changed:
U ZODB/trunk/setup.py
-=-
Modified: ZODB/trunk/setup.py
===================================================================
--- ZODB/trunk/setup.py 2010-09-28 18:39:34 UTC (rev 117028)
+++ ZODB/trunk/setup.py 2010-09-28 19:08:39 UTC (rev 117029)
@@ -165,6 +165,14 @@
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|')
+ )+ '''\n\n.. |Lowis| unicode:: L \\xf6 wis\n'''
+
setup(name="ZODB3",
version=VERSION,
maintainer="Zope Foundation and Contributors",
@@ -179,11 +187,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")),
+ 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