-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Python 2.7 CentOS issue by requiring argparse only in Py2.6 #19
base: master
Are you sure you want to change the base?
Conversation
Implemented Load Average metric collection.
Update from upstream
Fix Python 2.7 CentOS issue by requiring argparse only in Py2.6
setup.py
Outdated
requires = ['boto>=2.33.0',] | ||
|
||
|
||
if sys.version_info == (2, 6): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 18 should rather be sys.version_info[:2] == (2,6)
.
requires = ['boto>=2.33.0',] | ||
|
||
|
||
if sys.version_info[:2] == (2, 6): |
There was a problem hiding this comment.
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.
See my comments in #9