Skip to content

Commit

Permalink
get_long_description() now works in Python 2 as well
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Apr 24, 2018
1 parent d7c4ac3 commit 28008fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
from setuptools import setup, find_packages
import io
import os


def get_long_description():
with open(os.path.join(
with io.open(os.path.join(
os.path.dirname(os.path.abspath(__file__)), 'README.md'
), encoding='utf8') as fp:
return fp.read()
Expand Down

0 comments on commit 28008fe

Please sign in to comment.