Skip to content

Commit

Permalink
Explicitly define encoding as utf-8 in setup.py (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehcloninger authored Aug 26, 2023
1 parent 9a42345 commit 734c1ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

here = os.path.abspath(os.path.dirname(__file__))

with open(os.path.join(here, 'requirements.txt')) as f:
with open(os.path.join(here, 'requirements.txt'), encoding="utf-8") as f:
reqs = f.read().split()

with open(os.path.join(here, 'README.md')) as f:
with open(os.path.join(here, 'README.md'), encoding="utf-8") as f:
readme = f.read()

with open(os.path.join(here, 'xword_dl', 'version')) as f:
Expand Down

0 comments on commit 734c1ea

Please sign in to comment.