Skip to content

Commit

Permalink
read_me() encoding utf-8
Browse files Browse the repository at this point in the history
-specify utf-8 encoding for `read_me()` in setup.py (not all systems will have utf-8 as default)
  • Loading branch information
jianfch committed Mar 25, 2023
1 parent fa813fe commit ff34b27
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 @@ -8,7 +8,7 @@ def version() -> str:


def read_me() -> str:
with open('README.md', 'r') as f:
with open('README.md', 'r', encoding='utf-8') as f:
return f.read()


Expand Down

0 comments on commit ff34b27

Please sign in to comment.