Skip to content

Abort installation if version is Python 3#6

Open
microamp wants to merge 1 commit into
pravj:masterfrom
microamp:fix-setup
Open

Abort installation if version is Python 3#6
microamp wants to merge 1 commit into
pravj:masterfrom
microamp:fix-setup

Conversation

@microamp
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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