From 6c68b489170270774a9cdec25d3bb8d3dc846c15 Mon Sep 17 00:00:00 2001 From: Justin Clift Date: Thu, 18 Apr 2024 22:35:01 +1000 Subject: [PATCH] Add pydeps Makefile target for installing Python dependencies (#6890) This combines the manual steps needed for installing the Python dependencies into a single Makefile target. --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c8efd7e2a44..c6b0363543f 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: compose_build up test_db create_database create_db clean clean-all down tests lint backend-unit-tests frontend-unit-tests test build watch start redis-cli bash +.PHONY: compose_build up test_db create_database create_db clean clean-all down tests lint backend-unit-tests frontend-unit-tests pydeps test build watch start redis-cli bash export COMPOSE_DOCKER_CLI_BUILD=1 export DOCKER_BUILDKIT=1 @@ -54,6 +54,12 @@ env: .env format: pre-commit run --all-files +pydeps: + pip3 install wheel + pip3 install --upgrade black ruff launchpadlib pip setuptools + pip3 install poetry + poetry install --only main,all_ds,dev + tests: docker compose run server tests