Skip to content
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

Python2 check #157

Closed
wants to merge 2 commits into from
Closed

Python2 check #157

wants to merge 2 commits into from

Conversation

alisdt
Copy link

@alisdt alisdt commented Sep 9, 2016

I encountered the error message in #140. This change will make things a little more obvious for those who are not as familiar with Python and versioning issues.

setup.py exits early with an exception (RuntimeError) if:
Python version is less than 2.5, or
Major version is not 2

Added parentheses on print statements so that a ParseError is not generated before the script is run.
Tested install and basic use on Python 2.5 and 2.7 (and 3.5 to check that it rejects).

@markus-beuckelmann
Copy link
Collaborator

This is now obsolete. Thank you for your contribution though!

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.

2 participants