diff --git a/bin/linspector b/bin/linspector index b12c079..c05c1d9 100755 --- a/bin/linspector +++ b/bin/linspector @@ -20,16 +20,18 @@ from linspector.environment import Environment from linspector.linspector import Linspector from linspector.monitors import Monitors +__author__ = 'Johannes Findeisen' +__author_email__ = 'you@hanez.org' +__description__ = 'linspector is a infrastructure and system monitoring daemon and toolchain.' __version__ = '0.29.0' -__author__ = 'Johannes Findeisen ' sys.stderr = open('/dev/null', 'w') def parse_args(): parser = argparse.ArgumentParser( - description='linspector is a infrastructure and system monitoring daemon and toolchain.', - epilog='author: ' + __author__, + description=__description__, + epilog='author: ' + __author__ + ' <' + __author_email__ + '>', prog='linspector') parser.add_argument('configuration_path', metavar='CONFIGURATION_PATH', @@ -52,7 +54,7 @@ def parse_args(): def linspector(): print('Starting Linspector ' + __version__ + '...') print('This software is free software licensed under the terms of the MIT license. Copyright (c) 2013-2023 by ' + - __author__) + __author__ + ' <' + __author_email__ + '>') args = parse_args() monitors = {} diff --git a/setup.py b/setup.py index e69de29..0324cfc 100644 --- a/setup.py +++ b/setup.py @@ -0,0 +1,22 @@ +from setuptools import setup + +with open('README.md', 'r', encoding='utf-8') as file: + long_description = file.read() + +setup(name='linspector', + version='0.29.0', + description='Linspector is a infrastructure and system monitoring daemon and toolchain.', + url='https://github.com/linspector/linspector', + author='Johannes Findeisen', + author_email='you@hanez.org', + license='MIT', + packages=['linspector'], + keywords=['linux', 'system', 'monitoring'], + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Intended Audience :: System Administrators', + 'Natural Language :: English' + ], + long_description=long_description, + long_description_content_type='text/markdown', + zip_safe=False)