Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
specify utf-8 encoding in setup.py #13
When the module is being setup, you are defaulting to system-level encoding, which can sometimes be ascii, which fails when it parses the non-ascii character here: https://github.com/rbarrois/python-semanticversion/blob/master/semantic_version/__init__.py#L6.
This is probably what you wanna do before parsing files in setup.py:
import sys sys.setdefaultencoding("UTF-8")
An alternative fix is to set