Skip to content

Commit

Permalink
Fix - Python2.7 specific fix for setup.py
Browse files Browse the repository at this point in the history
open() can't take an encoding parameter in 2.7
  • Loading branch information
Pierre-Sassoulas committed Sep 22, 2018
1 parent 9f186cd commit 63b0715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def add_package(package_list, package):


this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'readme.md'), encoding='utf-8') as f:
with open(path.join(this_directory, 'readme.md')) as f:
long_description = f.read()

with open("requirements.txt", "r") as fh:
Expand Down

0 comments on commit 63b0715

Please sign in to comment.