# HG changeset patch # User Jeff Hammel # Date 1604427311 28800 # Node ID 840d60377c88c99c9515c439d7dd8546c4f27a33 # Parent 1ad7f99f588de7f1deafde7fbd3c8e38f58c6645 py3 diff -r 1ad7f99f588d -r 840d60377c88 setup.py --- 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 - """, - ) + """ +)