forked from avengerpenguin/cloudwatch-mon-scripts-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·55 lines (47 loc) · 1.78 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/usr/bin/env python
from cloudwatchmon import VERSION
import os.path
import sys
from setuptools import find_packages, setup
def readme():
path = os.path.join(os.path.dirname(__file__), 'README.md')
if os.path.exists(path):
with open(path) as f:
return f.read()
requires = ['boto>=2.33.0',]
if sys.version_info == (2, 6):
requires += ['argparse']
setup(name='cloudwatchmon',
version=VERSION,
description='Linux monitoring scripts for CloudWatch',
long_description=readme(),
url='https://github.com/osiegmar/cloudwatch-mon-scripts-python',
author='Oliver Siegmar',
author_email='oliver@siegmar.de',
license='Apache License (2.0)',
keywords="monitoring cloudwatch amazon web services aws ec2",
zip_safe=True,
packages=find_packages(),
install_requires=requires,
entry_points={'console_scripts': [
'mon-get-instance-stats.py=cloudwatchmon.cli.get_instance_stats:main',
'mon-put-instance-stats.py=cloudwatchmon.cli.put_instance_stats:main',
]
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: System :: Monitoring'
]
)