Browse Source

Changed findstr to findstring (#57)

On Mac with GNU Make 3.81 I had to change this line to get the makefile to correctly read the python version number
main
Luca Verginer 8 years ago committed by Peter Bull
parent
commit
5569270724
  1. 2
      {{ cookiecutter.repo_name }}/Makefile

2
{{ cookiecutter.repo_name }}/Makefile

@ -41,7 +41,7 @@ sync_data_from_s3:
create_environment: create_environment:
ifeq (True,$(IS_ANACONDA)) ifeq (True,$(IS_ANACONDA))
@echo ">>> Detected Anaconda, creating conda environment." @echo ">>> Detected Anaconda, creating conda environment."
ifeq (3,$(findstr 3,$(PYTHON_INTERPRETER))) ifeq (3,$(findstring 3,$(PYTHON_INTERPRETER)))
conda create --name $(PROJECT_NAME) python=3.5 conda create --name $(PROJECT_NAME) python=3.5
else else
conda create --name $(PROJECT_NAME) python=2.7 conda create --name $(PROJECT_NAME) python=2.7

Loading…
Cancel
Save