Update variable formatting

This commit is contained in:
Rico Tiongson 2019-03-02 19:11:59 +08:00
parent 17458661d5
commit 3354fe93dd

View File

@ -76,7 +76,7 @@ try:
url=__URL__, url=__URL__,
zip_safe=True, zip_safe=True,
packages=find_packages(), 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, ext_modules=extensions,
# include program to sources so it will be removed on uninstall # include program to sources so it will be removed on uninstall
) )
@ -112,6 +112,8 @@ try:
service.autostart() service.autostart()
service.autostart() service.autostart()
print('\nTry running "{} start" to test'.format(NAME))
finally: finally:
# move working directory back to where it was before # move working directory back to where it was before