python 3 install fails due to README encoding
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python Memcached |
Invalid
|
Undecided
|
Unassigned |
Bug Description
in the Python 3 version available at http://
$ python3 setup.py install
Traceback (most recent call last):
File "setup.py", line 9, in <module>
long_
File "/Library/
return codecs.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 63: ordinal not in range(128)
removing the first line of the README fixes the issue, or adding an encoding to the open() statement in setup.py:
long_descriptio
actually the install still fails later on even if the long_description is fixed...
File "setup.py", line 24, in <module> Frameworks/ Python. framework/ Versions/ 3.2/lib/ python3. 2/distutils/ core.py" , line 148, in setup run_commands( ) Frameworks/ Python. framework/ Versions/ 3.2/lib/ python3. 2/distutils/ dist.py" , line 917, in run_commands run_command( cmd) Frameworks/ Python. framework/ Versions/ 3.2/lib/ python3. 2/distutils/ dist.py" , line 936, in run_command Frameworks/ Python. framework/ Versions/ 3.2/lib/ python3. 2/site- packages/ distribute- 0.6.24- py3.2.egg/ setuptools/ command/ install. py", line 73, in run do_egg_ install( ) Frameworks/ Python. framework/ Versions/ 3.2/lib/ python3. 2/site- packages/ distribute- 0.6.24- py3.2.egg/ setuptools/ command/ install. py", line 93, in do_egg_install run_command( 'bdist_ egg') Frameworks/ Python. framework/ Versions/ 3.2/lib/ python3. 2/distutils/ cmd.py" , line 313, in run_command distribution. run_command( command) Frameworks/ Python. framework/ Versions/ 3.2/lib/ python3. 2/distutils/ dist.py" , line 936, in run_command Frameworks/ Python. framework/ Versions/ 3.2/lib/ python3. 2/site- packages/ distribute- 0.6.24- py3.2.egg/ setuptools/ command/ bdist_egg. py", line 172, in run run_command( "egg_info" ) Frameworks/ Python. framework/ Versions/ 3.2/lib/ python3. 2/distutils/ cmd.py" , line 313, in run_command distribution. run_command( command) Frameworks/ Python. framework/ Versions/ 3.2/lib/ python3. 2/distutils/ dist.py" , line 936, in run_command Frameworks/ Python. framework/ Versions/ 3.2/lib/ python3. 2/site- packages/ distribute- 0.6.24- py3.2.egg/ setuptools/ command/ egg_info. py", line 172, in run join(self. egg_info, ep.name) ) Frameworks/ Python. framework/ Versions/ 3.2/lib/ python3. 2/site- packages/ distribute- 0.6.24- py3.2.egg/ setuptools/ command/ egg_info. py", line 384, in write_pkg_info write_pkg_ info(cmd. egg_info) Frameworks/ Python. framework/ Versions/ 3.2/lib/ python3. 2/distutils/ dist.py" , line 1015, in write_pkg_info write_pkg_ file(pkg_ info) Frameworks/ Python. framework/ Versions/ 3.2/lib/ python3. 2/distutils/ dist.py" , line 1038, in write_pkg_file write(' Description: %s\n' % long_desc)
"Topic :: Software Development :: Libraries :: Python Modules",
File "/Library/
dist.
File "/Library/
self.
File "/Library/
cmd_obj.run()
File "/Library/
self.
File "/Library/
self.
File "/Library/
self.
File "/Library/
cmd_obj.run()
File "/Library/
self.
File "/Library/
self.
File "/Library/
cmd_obj.run()
File "/Library/
writer(self, ep.name, os.path.
File "/Library/
metadata.
File "/Library/
self.
File "/Library/
file.
UnicodeEncodeError: 'ascii' codec can't encode character '\xfc' in position 76: ordinal not in range(128)