Skip to content

Commit

Permalink
Making the python installer work in a Windows environment. (#158)
Browse files Browse the repository at this point in the history
* Updating setup.py, text encoding flag.

Updating the open() function to include the correct text encoding, otherwise it'll use the default of the OS. 
Using the default text encoding on windows uses cp1252 which creates decoding errors when setup.py runs.

* Forgot to make utf_8 a string.
  • Loading branch information
mpeddicord authored Jul 21, 2024
1 parent 4445f3c commit 06b98f8
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 @@ -18,7 +18,7 @@
import os
from setuptools import setup

with open("README.md", "r") as fh:
with open("README.md", "r", encoding="utf_8") as fh:
long_description = fh.read()


Expand Down

0 comments on commit 06b98f8

Please sign in to comment.