Skip to content

Commit

Permalink
Fix encoding error in Windows reported
Browse files Browse the repository at this point in the history
Close #1509
  • Loading branch information
wkentaro committed Jan 9, 2025
1 parent de29af2 commit 05deb53
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
Expand Up @@ -71,7 +71,8 @@ def get_install_requires():


def get_long_description():
with open("README.md") as f:
# Requires encoding for Non-ASCII: https://github.com/wkentaro/labelme/issues/1509
with open("README.md", encoding="utf-8") as f:
long_description = f.read()
try:
# when this package is being released
Expand Down

0 comments on commit 05deb53

Please sign in to comment.