Skip to content

Conversation

joshfriend
Copy link
Collaborator

There's currently nothing about the template that makes it python3 only, so why not officially declare support for python2?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joshfriend can you explain what happens when TRAVIS is not defined?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the Travis build environment .travis.yml handles what the current version of the python executable is. When building locally, the python version can be selected using the PYTHON_MAJOR and PYTHON_MINOR environment variables, or by just setting the version explicitly here.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense.

@jacebrowning
Copy link
Owner

@joshfriend this all looks good. Want to merge my change from master back onto this?

@joshfriend
Copy link
Collaborator Author

@jacebrowning done.

jacebrowning added a commit that referenced this pull request Oct 30, 2014
Add python2 to build matrix
@jacebrowning jacebrowning merged commit 78d541a into master Oct 30, 2014
@jacebrowning jacebrowning deleted the python2 branch October 30, 2014 19:11
juneqch added a commit to profilech/.cookiecutter-template-python that referenced this pull request Jun 8, 2018
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