Skip to content

Commit

Permalink
Merge pull request #42 from lehinevych/windows_pip_error
Browse files Browse the repository at this point in the history
fixing the encoding in the setup.py to address error during pip insta…
  • Loading branch information
lehinevych authored Nov 1, 2020
2 parents 98a9a24 + 962d59c commit 15114a1
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 @@ -34,7 +34,7 @@ def local_file(file):

long_description = pypandoc.convert_file('README.md', 'rst')
except(IOError, ImportError, OSError):
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md')) as f:
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md'), encoding="utf-8") as f:
long_description = f.read()

setuptools.setup(
Expand Down

0 comments on commit 15114a1

Please sign in to comment.