adameste / anidbcli

AniDB UDP API client written in Python
MIT License
34 stars 8 forks source link

Encoding in setup.py file #4

Closed Jonybat closed 5 years ago

Jonybat commented 5 years ago

Hi

When installing from source it throws the following error:

File "setup.py", line 12 SyntaxError: Non-ASCII character '\xc5' in file setup.py on line 12, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

I'm using UTF-8 encoding.

According to docs, adding # coding=latin-1 fixes it.

adameste commented 5 years ago

Merged

adameste commented 5 years ago

And i double checked, the encoding of the file is definitely utf-8. Since I am Czech the latin encoding messed up my name in PyPi repository.