nojhan/colout — pull request #28 by orzrd (2013-05-05 13:16:29+00:00)
Title: the © cannot be encode to ascii

Error when using `python3 setup.py install `:

#!/bin/bash
# Copyright © 2013 Martin Ueding

# Small launcher script for the main module.

# Licence: GPL 3

set -e
set -u

python -m colout.colout "$@"

Traceback (most recent call last):
File "setup.py", line 53, in
zip_safe=False,
File "/usr/lib64/python3.2/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.2/distutils/dist.py", line 917, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.2/distutils/dist.py", line 936, in run_command
cmd_obj.run()
File "/usr/lib64/python3.2/site-packages/setuptools/command/install.py", line 73, in run
self.do_egg_install()
File "/usr/lib64/python3.2/site-packages/setuptools/command/install.py", line 101, in do_egg_install
cmd.run()
File "/usr/lib64/python3.2/site-packages/setuptools/command/easy_install.py", line 371, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib64/python3.2/site-packages/setuptools/command/easy_install.py", line 591, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/usr/lib64/python3.2/site-packages/setuptools/command/easy_install.py", line 643, in install_item
self.process_distribution(spec, dist, deps)
File "/usr/lib64/python3.2/site-packages/setuptools/command/easy_install.py", line 672, in process_distribution
self.install_egg_scripts(dist)
File "/usr/lib64/python3.2/site-packages/setuptools/command/easy_install.py", line 540, in install_egg_scripts
dist.get_metadata('scripts/'+script_name)
File "/usr/lib64/python3.2/site-packages/setuptools/command/easy_install.py", line 777, in install_script
self.write_script(script_name, _to_ascii(script_text), 'b')
File "/usr/lib64/python3.2/site-packages/setuptools/command/easy_install.py", line 92, in _to_ascii
return s.encode('ascii')
UnicodeEncodeError: 'ascii' codec can't encode character '\xa9' in position 24: ordinal not in range(128)

The reason is the © cannot be encode to ascii, and I removed the character