[Zodb-checkins] SVN: ZODB/trunk/setup.py using the current change log instead of historical one
Michael Howitz
mh at gocept.com
Tue Sep 23 03:31:47 EDT 2008
Log message for revision 91388:
using the current change log instead of historical one
Changed:
U ZODB/trunk/setup.py
-=-
Modified: ZODB/trunk/setup.py
===================================================================
--- ZODB/trunk/setup.py 2008-09-23 07:15:44 UTC (rev 91387)
+++ ZODB/trunk/setup.py 2008-09-23 07:31:46 UTC (rev 91388)
@@ -227,9 +227,10 @@
doclines = __doc__.split("\n")
-def read_file(name):
+def read_file(*path):
base_dir = os.path.dirname(__file__)
- return file(os.path.join(base_dir, name)).read()
+ file_path = (base_dir, ) + tuple(path)
+ return file(os.path.join(*file_path)).read()
setup(name="ZODB3",
version=VERSION,
@@ -249,7 +250,7 @@
"\n".join(doclines[2:]) + "\n\n" +
".. contents::\n\n" +
read_file("README.txt") + "\n\n" +
- read_file("HISTORY.txt")),
+ read_file("src", "CHANGES.txt")),
distclass = MyDistribution,
test_suite="__main__.alltests", # to support "setup.py test"
tests_require = [
More information about the Zodb-checkins
mailing list