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:
parent
b470c81d01
commit
37934e9266
4 changed files with 12 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1 +1,4 @@
|
|||
*.pyc
|
||||
build/
|
||||
dist/
|
||||
colout.egg-info/
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python3
|
||||
#!/usr/bin/env python
|
||||
#encoding: utf-8
|
||||
|
||||
# Color Up Arbitrary Command Ouput
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -16,7 +16,7 @@ if sys.argv[-1] == 'publish':
|
|||
|
||||
packages = ['colout']
|
||||
|
||||
requires = []
|
||||
requires = ['argparse', 'pygments', 'babel']
|
||||
|
||||
setup(
|
||||
name='colout',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue