Commit 42ea2925 authored by Jim Fulton's avatar Jim Fulton

fix description

parent 57153785
...@@ -91,11 +91,11 @@ def alltests(): ...@@ -91,11 +91,11 @@ def alltests():
_unittests_only(suite, mod.test_suite()) _unittests_only(suite, mod.test_suite())
return suite return suite
long_description = ( def read(path):
open("README.rst").read() + with open(path) as f:
"\n\n" + return f.read()
open("CHANGES.rst").read()
) long_description = read("README.rst") + "\n\n" + read("CHANGES.rst")
tests_require = ['zope.testing', 'manuel'] tests_require = ['zope.testing', 'manuel']
...@@ -111,8 +111,8 @@ setup(name="ZODB", ...@@ -111,8 +111,8 @@ setup(name="ZODB",
url = 'http://www.zodb.org/', url = 'http://www.zodb.org/',
license = "ZPL 2.1", license = "ZPL 2.1",
platforms = ["any"], platforms = ["any"],
description = long_description[1],
classifiers = list(filter(None, classifiers.split("\n"))), classifiers = list(filter(None, classifiers.split("\n"))),
description = long_description.split('\n', 2)[1],
long_description = long_description, long_description = long_description,
test_suite="__main__.alltests", # to support "setup.py test" test_suite="__main__.alltests", # to support "setup.py test"
tests_require = tests_require, tests_require = tests_require,
......
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