Skip to content

Commit fdd04a7

Browse files
committed
argparse is required to run the scripts
If you download the project, run `python setup.py install`, and then try to run the `mon-get-instance-stats.py` script, you'll end up getting a `ImportError: No module named argparse`. Adding `argparse` to the `install_requires` will ensure that the module is properly installed.
1 parent 5245c03 commit fdd04a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def readme():
2323
keywords="monitoring cloudwatch amazon web services aws ec2",
2424
zip_safe=True,
2525
packages=find_packages(),
26-
install_requires=['boto>=2.33.0'],
26+
install_requires=['boto>=2.33.0','argparse'],
2727
entry_points={'console_scripts': [
2828
'mon-get-instance-stats.py=cloudwatchmon.cli.get_instance_stats:main',
2929
'mon-put-instance-stats.py=cloudwatchmon.cli.put_instance_stats:main',

0 commit comments

Comments
 (0)