Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix Python 2.7 CentOS issue by requiring argparse only in Py2.6 #19

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
Loading
from

Conversation

avengerpenguin
Copy link
Contributor

@avengerpenguin avengerpenguin commented Apr 3, 2018

See my comments in #9

avengerpenguin and others added 4 commits September 8, 2015 20:50
Implemented Load Average metric collection.
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):
Copy link

@lalkhum lalkhum Apr 12, 2018

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):
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.