Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
from cloudwatchmon import VERSION
import os.path

import sys
from setuptools import find_packages, setup


Expand All @@ -12,6 +12,13 @@ def readme():
return f.read()


requires = ['boto>=2.33.0',]


if sys.version_info[:2] == (2, 6):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for my late response, I weren't notified via email for this PR.

I doubt this is enough as this is probably also required for Python < 2.7 and < 3.2.

requires += ['argparse']


setup(name='cloudwatchmon',
version=VERSION,
description='Linux monitoring scripts for CloudWatch',
Expand All @@ -23,7 +30,7 @@ def readme():
keywords="monitoring cloudwatch amazon web services aws ec2",
zip_safe=True,
packages=find_packages(),
install_requires=['boto>=2.33.0', 'argparse'],
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',
Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[tox]
envlist = py26,py27,py33,py34,py35,py36
[testenv]
commands=mon-get-instance-stats.py --version