69 lines
2.3 KiB
Python
69 lines
2.3 KiB
Python
"""A setuptools based setup module.
|
|
|
|
See:
|
|
https://packaging.python.org/en/latest/distributing.html
|
|
https://github.com/pypa/sampleproject
|
|
"""
|
|
|
|
# Always prefer setuptools over distutils
|
|
from setuptools import setup, find_packages
|
|
# To use a consistent encoding
|
|
from codecs import open
|
|
from os import path
|
|
|
|
here = path.abspath(path.dirname(__file__))
|
|
|
|
# Get the long description from the README file
|
|
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
|
|
long_description = f.read()
|
|
|
|
# Arguments marked as "Required" below must be included for upload to PyPI.
|
|
# Fields marked as "Optional" may be commented out.
|
|
|
|
setup(
|
|
name='minitor',
|
|
version='0.1.0',
|
|
description='A minimal monitoring tool',
|
|
long_description=long_description,
|
|
url='https://git.iamthefij.com/iamthefij/minitor',
|
|
author='Ian Fijolek',
|
|
author_email='ian@iamthefij.com',
|
|
# Classifiers help users find your project by categorizing it.
|
|
#
|
|
# For a list of valid classifiers, see
|
|
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
|
classifiers=[
|
|
# How mature is this project? Common values are
|
|
# 3 - Alpha
|
|
# 4 - Beta
|
|
# 5 - Production/Stable
|
|
'Development Status :: 3 - Alpha',
|
|
'Intended Audience :: Developers',
|
|
'Intended Audience :: System Administrators',
|
|
'Topic :: System :: Monitoring',
|
|
'License :: OSI Approved :: Apache Software License',
|
|
'Programming Language :: Python :: 3',
|
|
'Programming Language :: Python :: 3.4',
|
|
'Programming Language :: Python :: 3.5',
|
|
'Programming Language :: Python :: 3.6',
|
|
],
|
|
keywords='minitor monitoring alerting',
|
|
packages=find_packages(exclude=['contrib', 'docs', 'tests']), # Required
|
|
install_requires=[
|
|
'yamlenv',
|
|
],
|
|
|
|
# To provide executable scripts, use entry points in preference to the
|
|
# "scripts" keyword. Entry points provide cross-platform support and allow
|
|
# `pip` to create the appropriate form of executable for the target
|
|
# platform.
|
|
#
|
|
# For example, the following would provide a command called `sample` which
|
|
# executes the function `main` from this package when invoked:
|
|
entry_points={
|
|
'console_scripts': [
|
|
'minitor=minitor.main:main',
|
|
],
|
|
},
|
|
)
|