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

Abort installation if version is Python 3 #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Abort installation if version is Python 3 #6

wants to merge 1 commit into from

Conversation

microamp
Copy link

This PR stops the installation process from proceeding if the version is Python 3 (which is not currently supported) as discussed in #4.

$ python setup.py install
Sorry, Doga does not support Python 3 at this stage

In addition to the above, I've added 'classifiers' (note that Python 3 is omitted there). Fee free to expand the list if you'd like it to support versions prior to 2.7.

@pravj
Copy link
Owner

pravj commented Oct 2, 2014

Hi @microamp,
So sorry for replying very late, actually I was busy with my exams and things.

Yeah, this PR is right way to divert Python3 users but can you please make sure that this will not limit the users to Python2.7?

If we merge this without checking this out for older Python versions, this will be a wrong thing, I think.

@microamp
Copy link
Author

Hi @pravj,

My apologies on my late reply.

What Python 2 versions are you targetting apart from Python 2.7? So far, I've only tested it with 2.7 personally. I guess having a test suite would make things easier (CI (e.g. Travis) with the versions to support specified) although I'm not sure how trivial to write them for this particular application. Are you planning to write one in the near future?

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