Skip to content

Commit

Permalink
setup.py now reads README explicitly as utf-8
Browse files Browse the repository at this point in the history
This should fix a failing `pip install` on Windows. Fixes #121.
  • Loading branch information
akaihola committed Apr 22, 2021
1 parent 266d2d3 commit 7793cfe
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 @@ -18,7 +18,7 @@ def make_pypi_compliant_readme() -> str:
:return: The contents of a PyPI compliant ``README.rst``
"""
with open("README.rst") as fp:
with open("README.rst", encoding="utf-8") as fp:
original_readme = fp.read()
modified_readme = CONTRIBUTORS_RE.sub(
"\nSee README.rst_ for the list of contributors.\n\nThis project follows ",
Expand Down

0 comments on commit 7793cfe

Please sign in to comment.