From 23190c1cdbfbbd1f4dcfaba0e3a1f615b0f80594 Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Sun, 22 Oct 2017 14:31:53 -0400 Subject: [PATCH] setup: Install a script to invoke the module. --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 02378f9..8904065 100755 --- a/setup.py +++ b/setup.py @@ -15,5 +15,7 @@ setup( tests_require=['pytest', 'PyYAML'], packages=find_packages(include=['import2ledger', 'import2ledger.*']), - entry_points={}, + entry_points={ + 'console_scripts': ['import2ledger = import2ledger.__main__:main'], + }, )