From 3354fe93dd43211b1c0e7135b469fbcf398e3a17 Mon Sep 17 00:00:00 2001 From: Rico Tiongson Date: Sat, 2 Mar 2019 19:11:59 +0800 Subject: [PATCH] Update variable formatting --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 49eb042..c4ad48e 100644 --- a/setup.py +++ b/setup.py @@ -76,7 +76,7 @@ try: url=__URL__, zip_safe=True, packages=find_packages(), - entry_points=dict(console_scripts=['comfortable-swipe=comfortable_swipe:main']), + entry_points=dict(console_scripts=['{}=comfortable_swipe:main'.format(NAME)]), ext_modules=extensions, # include program to sources so it will be removed on uninstall ) @@ -112,6 +112,8 @@ try: service.autostart() service.autostart() + print('\nTry running "{} start" to test'.format(NAME)) + finally: # move working directory back to where it was before