aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jon Bernard <jbernard@tuxion.com> 2014-07-07 14:08:33 -0400
committerGravatar Jon Bernard <jbernard@tuxion.com> 2014-07-07 14:08:33 -0400
commite377456dc12a05d685b31cab0b6d62f2c0864f5a (patch)
treeed7eb565519b9e6b70be2c606112bd5fce78e635
parentd42db02de0519fade43406cf887cc16d37a1032b (diff)
downloaddotfiles-e377456dc12a05d685b31cab0b6d62f2c0864f5a.tar.gz
dotfiles-e377456dc12a05d685b31cab0b6d62f2c0864f5a.tar.bz2
dotfiles-e377456dc12a05d685b31cab0b6d62f2c0864f5a.zip
Use entry point for bin stub
The script in bin/ remains for running directly from the source directory.
-rwxr-xr-xsetup.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index bde020f..33a30e3 100755
--- a/setup.py
+++ b/setup.py
@@ -37,5 +37,8 @@ setup(name='dotfiles',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
),
- scripts=['bin/dotfiles'],
+ entry_points = '''
+ [console_scripts]
+ dotfiles=dotfiles.cli:main
+ ''',
)