mirror of
https://github.com/caronc/apprise.git
synced 2025-08-10 00:38:02 +02:00
doc tidy-up and version inc
This commit is contained in:
11
setup.py
11
setup.py
@ -18,6 +18,10 @@
|
||||
|
||||
import os
|
||||
import platform
|
||||
import sys
|
||||
from os.path import join
|
||||
from os.path import abspath
|
||||
from os.path import dirname
|
||||
try:
|
||||
from setuptools import setup
|
||||
|
||||
@ -26,6 +30,11 @@ except ImportError:
|
||||
|
||||
from setuptools import find_packages
|
||||
|
||||
# Include 'this' library to allow a single location for
|
||||
# version referencing
|
||||
sys.path.insert(0, join(dirname(abspath(__file__)), 'apprise'))
|
||||
from apprise import __version__ as version
|
||||
|
||||
install_options = os.environ.get("APPRISE_INSTALL", "").split(",")
|
||||
install_requires = open('requirements.txt').readlines()
|
||||
if platform.system().lower().startswith('win'):
|
||||
@ -42,7 +51,7 @@ else:
|
||||
|
||||
setup(
|
||||
name='apprise',
|
||||
version='0.5.0',
|
||||
version=version,
|
||||
description='A universal notification service',
|
||||
license='GPLv3',
|
||||
long_description=open('README').read(),
|
||||
|
Reference in New Issue
Block a user