From b2f606055f27e03e76cf415c70f051c776d810ca Mon Sep 17 00:00:00 2001 From: Michael Duong Date: Tue, 29 Aug 2023 18:01:52 +0100 Subject: [PATCH] Add commands to makefile to create environment for development --- model_data/simulation_system/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/model_data/simulation_system/Makefile b/model_data/simulation_system/Makefile index d33f40d0..5bb74e1a 100644 --- a/model_data/simulation_system/Makefile +++ b/model_data/simulation_system/Makefile @@ -7,9 +7,9 @@ init: build docker .PHONY: training_env env: - # pyenv install $(PYTHON_VERSION) || echo "Proceeding..." # || is to swallow non-zero response if python version already is installed - # pyenv global $(PYTHON_VERSION) - # python3 -m venv .training_env + pyenv install $(PYTHON_VERSION) || echo "Proceeding..." # || is to swallow non-zero response if python version already is installed + pyenv global $(PYTHON_VERSION) + python3 -m venv .training_env . .training_env/bin/activate pip install --upgrade pip pip install -r requirements/training/training-dev.txt && pre-commit install