Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeDecodeError in setup.py #48

Open
LukeHollingsworth opened this issue Apr 21, 2023 · 1 comment
Open

UnicodeDecodeError in setup.py #48

LukeHollingsworth opened this issue Apr 21, 2023 · 1 comment

Comments

@LukeHollingsworth
Copy link
Collaborator

LukeHollingsworth commented Apr 21, 2023

The following line:

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

on line 5 of setup.py raises the following error: "UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 8698: character maps to ".

Suggest following correction:

with open("README.md", "r", encoding="utf-8") as fh:
    long_description = fh.read()
@niksirbi
Copy link
Member

This no longer seems to be an issue after the move from setup.py to pyproject.toml (see #50). Should we close it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants