Installation of library fails in environment with LC_ALL=C. Error details:
$ .venv/bin/python setup.py install
Traceback (most recent call last):
File "setup.py", line 86, in
version=read_version(),
File "setup.py", line 46, in read_version
finder.visit(ast.parse(local_file('httpretty', 'init.py')))
File "setup.py", line 78, in
open(os.path.join(os.path.dirname(file), *f)).read()
File "/tmp/HTTPretty/.venv/lib/python3.4/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 133: ordinal not in range(128)
Installation of library fails in environment with LC_ALL=C. Error details: $ .venv/bin/python setup.py install Traceback (most recent call last): File "setup.py", line 86, in
version=read_version(),
File "setup.py", line 46, in read_version
finder.visit(ast.parse(local_file('httpretty', 'init.py')))
File "setup.py", line 78, in
open(os.path.join(os.path.dirname(file), *f)).read()
File "/tmp/HTTPretty/.venv/lib/python3.4/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 133: ordinal not in range(128)