refactored cli; renaming notify.py to apprise + testing

This commit is contained in:
Chris Caron
2018-03-13 19:26:51 -04:00
parent 1002f60be1
commit 2a64c6bafb
5 changed files with 111 additions and 26 deletions

View File

@ -29,8 +29,10 @@ install_options = os.environ.get("APPRISE_INSTALL", "").split(",")
libonly_flags = set(["lib-only", "libonly", "no-cli", "without-cli"])
if libonly_flags.intersection(install_options):
console_scripts = []
else:
console_scripts = ['apprise = apprise:_main']
# Load our CLI
console_scripts = ['apprise = apprise.cli:main']
setup(
name='apprise',
@ -52,7 +54,6 @@ setup(
'assets/themes/default/*.png',
],
},
scripts=['cli/notify.py', ],
install_requires=open('requirements.txt').readlines(),
classifiers=(
'Development Status :: 5 - Production/Stable',