techartorg / bqt

A Blender add-on to support & manage Qt Widgets in Blender (PySide2)
https://github.com/techartorg/bqt/wiki
Mozilla Public License 2.0
162 stars 23 forks source link

git+ install fails due to charmap error #63

Closed hannesdelbeke closed 1 year ago

hannesdelbeke commented 1 year ago

likely emoji in readme causes the bug

repro 100%

pip install git+https://github.com/techartorg/bqt.git

original report

Dominic Noble

It appears that this commit to BQT has broken something: https://github.com/techartorg/bqt/commit/cbdccf1f0cf45f54443e66cd4dd90d13ae4974a7 If I try to install any earlier version via PIP using the git+ method, it's fine, but if I try that one or any after it I get a metadata-generation-failed error. Not sure if it's just me that gets that though?

Possibly the inclusion of the :warning: emoji, as it's a charmap error I'm getting

Yep removed that locally when running python setup.py install and it works just fine

H

that's so weird, that a readme character affects installation :scream:

could you make a ticket with the git+ command you run? so i can repro it, and fix it. (edited)

think chaning the line in setup.py to this should fix it. long_description = (this_directory / "README.md").read_text(encoding="utf-8") source

hannesdelbeke commented 1 year ago

fixed https://github.com/techartorg/bqt/commit/ee21b50e0edb229c96d69da81be27143fd39f9e4