colout/colout.py uses python3, whereas it really needs python2,

also add requirement in setup, makes it auto-install requirement
package.
This commit is contained in:
Xu Di 2013-04-22 13:34:06 +08:00
commit 37934e9266
4 changed files with 12 additions and 2 deletions

3
.gitignore vendored
View file

@ -1 +1,4 @@
*.pyc
build/
dist/
colout.egg-info/

View file

@ -44,6 +44,13 @@ to it (see also the `-s` switch below).
`colout` is released under the GNU Public License v3.
## INSTALLATION
sudo python setup.py install
and then soft link `/usr/local/bin/colout` to your colout.py under your installaion directory, which usually like
/usr/local/lib/python2.7/dist-packages/colout-0.1-py2.7.egg/colout/colout.py
## OPTIONS

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
#encoding: utf-8
# Color Up Arbitrary Command Ouput

View file

@ -16,7 +16,7 @@ if sys.argv[-1] == 'publish':
packages = ['colout']
requires = []
requires = ['argparse', 'pygments', 'babel']
setup(
name='colout',