Skip to content

Commit

Permalink
fix(setup.py): remove encoding param
Browse files Browse the repository at this point in the history
  • Loading branch information
h2non committed Dec 12, 2016
1 parent 7098a71 commit 52ba7ff
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 @@ -25,7 +25,7 @@

def read_version(package):
init_path = os.path.join(package, '__init__.py')
with open(init_path, 'r', encoding='UTF-8') as fd:
with open(init_path, 'r') as fd:
for line in fd:
if line.startswith('__version__ = '):
return line.split()[-1].strip().strip("'")
Expand Down

0 comments on commit 52ba7ff

Please sign in to comment.