Add launcher script
I tried to package this program in Ubuntu, and found that it has no startup script. So I added a `colout` script that gets installed into the scripts directory with the `setup.py`.
This commit is contained in:
parent
49cd8ab292
commit
177c11fd9a
2 changed files with 12 additions and 0 deletions
11
bin/colout
Normal file
11
bin/colout
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
# Copyright © 2013 Martin Ueding <dev@martin-ueding.de>
|
||||
|
||||
# Small launcher script for the main module.
|
||||
|
||||
# Licence: GPL 3+
|
||||
|
||||
set -e
|
||||
set -u
|
||||
|
||||
python -m colout.colout "$@"
|
||||
1
setup.py
1
setup.py
|
|
@ -29,6 +29,7 @@ setup(
|
|||
packages=packages,
|
||||
package_data={'': ['LICENSE']},
|
||||
package_dir={'colout': 'colout'},
|
||||
scripts=['bin/colout'],
|
||||
include_package_data=True,
|
||||
install_requires=requires,
|
||||
license=open('LICENSE').read(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue