Commit 52f4f482 authored by Jim Fulton's avatar Jim Fulton

Copied unicode flails from 10.0.0b7 tag.

parent 65ac2646
...@@ -165,6 +165,14 @@ def read_file(*path): ...@@ -165,6 +165,14 @@ def read_file(*path):
file_path = (base_dir, ) + tuple(path) file_path = (base_dir, ) + tuple(path)
return file(os.path.join(*file_path)).read() 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", setup(name="ZODB3",
version=VERSION, version=VERSION,
maintainer="Zope Foundation and Contributors", maintainer="Zope Foundation and Contributors",
...@@ -179,11 +187,7 @@ setup(name="ZODB3", ...@@ -179,11 +187,7 @@ setup(name="ZODB3",
platforms = ["any"], platforms = ["any"],
description = doclines[0], description = doclines[0],
classifiers = filter(None, classifiers.split("\n")), classifiers = filter(None, classifiers.split("\n")),
long_description = ( long_description = long_description,
"\n".join(doclines[2:]) + "\n\n" +
".. contents::\n\n" +
read_file("README.txt") + "\n\n" +
read_file("src", "CHANGES.txt")),
test_suite="__main__.alltests", # to support "setup.py test" test_suite="__main__.alltests", # to support "setup.py test"
tests_require = ['zope.testing', 'manuel'], tests_require = ['zope.testing', 'manuel'],
extras_require = dict(test=['zope.testing', 'manuel']), extras_require = dict(test=['zope.testing', 'manuel']),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment