setup.py has a non-ASCII character
Status: Beta
Brought to you by:
nymble
I get this error when I try to run setup.py:
> python ./setup.py --help
File "./setup.py", line 15
SyntaxError: Non-ASCII character '\xa9' in file ./setup.py on line 16, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
I tried to work around this by simply deleting that character, but other files have the same problem.
Thanks - will fix - restarting project. Nedds updates for latest Python and will add new algorithms.
The problem character is the copyrite sign in some encodings - changing the specific encoding of all the source files to utf-8 would resolve this as well as ticket #6.
Adding:
# -*- coding: utf-8 -*-as the second line of setup.py resolves this specific issue - I have an attachement to ticket #6 that does this in all files of the current build.