Original report by Éric Araujo (Bitbucket: Merwok, GitHub: Merwok).
This is downright evil :)
reload(sys)
sys.setdefaultencoding('utf8')
If I need to support an old Python version that does not support Unicode in setup.py, I just use raw UTF-8 bytes for the name.
Original report by Éric Araujo (Bitbucket: Merwok, GitHub: Merwok).
This is downright evil :)
reload(sys)
sys.setdefaultencoding('utf8')
If I need to support an old Python version that does not support Unicode in setup.py, I just use raw UTF-8 bytes for the name.