Page MenuHome

Specify UTF-8 encoding in setup.py to avoid non-ascii errors during setup
AbandonedPublic

Authored by Campbell Barton (campbellbarton) on May 3 2016, 8:12 PM.

Details

Summary

Sybren's last name gave me an encoding error while running setup.py so I specified utf-8 character encoding. It builds fine for me now.

Diff Detail

Event Timeline

Jeffrey Hoover (italic_) retitled this revision from to Specify UTF-8 encoding in setup.py to avoid non-ascii errors during setup.
Jeffrey Hoover (italic_) updated this object.
Jeffrey Hoover (italic_) set the repository for this revision to rBIA Blender ID Addon.

That's strange, as UTF-8 is the default anyway. Are you building using Python 3.5, or using 2.7?

I build from source, so I use a virtual environment pointing to the python build from install_deps.sh (3.5.1).

Can you give me the exact error (with traceback), and your OS & version?

Apparently today really isn't my day. I couldn't reproduce it, even after cleaning out the repo. It took me looking through my bash history to find out that, yes, I was using py 2.7... only to activate my venv and try again. Obviously I'm a colossal idiot when I'm tired. I can't close or delete the patch. Sorry for wasting your time.

It's ok, these things happen.