fzhu2e / LMRt

LMR Turbo, a lightweight implementation of the LMR framework
https://fzhu2e.github.io/LMRt
GNU General Public License v3.0
9 stars 4 forks source link

setup.py encoding #2

Open DaveEdge1 opened 1 year ago

DaveEdge1 commented 1 year ago

Hello, I'm getting an error related to encodings during install. The traceback shows line 5 of the setup.py script "long_description = fh.read()" with the error "'charmap' codec can't decode byte 0x90" suggesting the implied encoding is latin rather than utf-8 perhaps? Screenshot 2022-11-07 132931

DaveEdge1 commented 1 year ago

I forked and edited line 4 of setup.py which solved my problem. Here's the edited version: https://github.com/DaveEdge1/LMRt/blob/master/setup.py

fzhu2e commented 1 year ago

Thanks! It seems to be an issue on Windows. In version 0.8.5, I applied your fix and also modified the text that's not utf-8 in README.rst.