Skip to content

Commit

Permalink
Fix README.md read encoding in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jayqi authored Jul 8, 2024
1 parent 4f1fc6b commit 9387bdb
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 @@ -21,7 +21,7 @@ def load_reqs(path):
req_path = Path(__file__).parent / "requirements.txt"
requirements = load_reqs(req_path)

long_description = open(Path(__file__).parent / "README.md").read()
long_description = (Path(__file__).parent / "README.md").read_text(encoding="utf-8")

with (Path(__file__).parent / "VERSION").open("r") as fp:
version = fp.read().strip()
Expand Down

0 comments on commit 9387bdb

Please sign in to comment.