Mattsa008 / pybox2d

Automatically exported from code.google.com/p/pybox2d
Other
0 stars 0 forks source link

Fails to build due to missing encoding on setup.py #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Trying to install the library from svn, using the Portugues locale
2. Dduring python setup.py install, the following error is shown:
SyntaxError: Non-ASCII character '\xc3' in file setup.py on line 20, but no 
encoding declared; see http://www.python.org/peps/pep-0263.html for details

What version of pybox2d are you using? On what operating system? 
64-bit, Fedora

Please provide any additional information below.
Adding the # -*- coding: utf-8 -*- line to setup.py resolves the problem.

Original issue reported on code.google.com by lamego.p...@gmail.com on 29 Mar 2011 at 8:02

GoogleCodeExporter commented 8 years ago
I've updated the encodings on all of the Python scripts in r325. Hopefully, 
everything should work for non-Latin-1 based systems now.

Original comment by sir...@gmail.com on 29 Mar 2011 at 9:09

GoogleCodeExporter commented 8 years ago
Resolved.

Original comment by lamego.p...@gmail.com on 30 Mar 2011 at 12:44

GoogleCodeExporter commented 8 years ago

Original comment by sir...@gmail.com on 30 Mar 2011 at 1:02