Skip to content

Commit

Permalink
[SymForce-External] Specify README Encoding in setup.py
Browse files Browse the repository at this point in the history
Specify README Encoding in setup.py

This was causing setup to fail on a windows machine with a default encoding other than UTF8

Closes #421

GitOrigin-RevId: 437bf114b0759ec32af158a1aae3ee4b0cd8c300
  • Loading branch information
DavidIngraham authored and aaron-skydio committed Jan 14, 2025
1 parent 34a8616 commit 27e3ba5
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 @@ -362,7 +362,7 @@ def fixed_readme() -> str:
"""
Fix things in the README for PyPI
"""
readme = Path("README.md").read_text()
readme = Path("README.md").read_text(encoding="UTF8")

# Replace relative links with absolute, so images appear correctly on PyPI
readme = readme.replace(
Expand Down

0 comments on commit 27e3ba5

Please sign in to comment.