Mercurial > hg > wsgintegrate
changeset 31:840d60377c88
py3
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 03 Nov 2020 10:15:11 -0800 |
parents | 1ad7f99f588d |
children | 425663344481 |
files | setup.py |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Sun May 10 18:48:43 2020 -0700 +++ b/setup.py Tue Nov 03 10:15:11 2020 -0800 @@ -5,8 +5,9 @@ # description try: - filename = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'README.txt') - description = file(filename).read() + filename = os.path.join(os.path.dirname(os.path.abspath(__file__)), + 'README.txt') + description = open(filename).read() except: description = '' @@ -30,5 +31,5 @@ entry_points=""" [console_scripts] wsgintegrate = wsgintegrate.main:main - """, - ) + """ +)