Browse Source

Use latest stable python3 in conda create (#78)

main
Kasper Primdal Lauritzen 8 years ago committed by Peter Bull
parent
commit
2bafb83110
  1. 2
      {{ cookiecutter.repo_name }}/Makefile

2
{{ cookiecutter.repo_name }}/Makefile

@ -57,7 +57,7 @@ create_environment:
ifeq (True,$(HAS_CONDA)) ifeq (True,$(HAS_CONDA))
@echo ">>> Detected conda, creating conda environment." @echo ">>> Detected conda, creating conda environment."
ifeq (3,$(findstring 3,$(PYTHON_INTERPRETER))) ifeq (3,$(findstring 3,$(PYTHON_INTERPRETER)))
conda create --name $(PROJECT_NAME) python=3.5 conda create --name $(PROJECT_NAME) python=3
else else
conda create --name $(PROJECT_NAME) python=2.7 conda create --name $(PROJECT_NAME) python=2.7
endif endif

Loading…
Cancel
Save