From ede1df71401a16c74dea9c1962bd1085538ac3d7 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Tue, 30 Dec 2014 11:22:57 -0500 Subject: Remove changes file from long_description. --- setup.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index f441815f..544f18f5 100755 --- a/setup.py +++ b/setup.py @@ -90,15 +90,8 @@ class test(_test): readme_file = io.open('README.txt', encoding='utf-8') -# The release script adds hyperlinks to issues, -# but if the release script has not run, fall back to the source file -changes_names = 'CHANGES (links).txt', 'CHANGES.txt' -changes_fn = next(iter(filter(os.path.exists, changes_names))) -changes_file = io.open(changes_fn, encoding='utf-8') - with readme_file: - with changes_file: - long_description = readme_file.read() + '\n' + changes_file.read() + long_description = readme_file.read() package_data = { 'setuptools': ['script (dev).tmpl', 'script.tmpl', 'site-patch.py']} -- cgit v1.2.3