From 6f5fe4831fafc188bcb9030f6b0e66da6627c007 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Wed, 1 Feb 2023 10:18:18 +0100 Subject: [PATCH] changed to pip for editable installs --- Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index a9286df..9f5efe5 100644 --- a/Makefile +++ b/Makefile @@ -85,14 +85,14 @@ docs: ## build the documentation using mkdocs serve-docs: docs ## build the documentation and serve them in a web server mkdocs serve -install: ## install updated project.toml with flint - flit install --pth-file +install: ## install updated project.toml + .venv/bin/pip3 install -e ".[docs,dev,test]" prepareenv: ## setup virtual environment and install packages + rm -fr .venv/ python3 -m venv --prompt sensospot .venv - .venv/bin/pip3 install --upgrade pip - .venv/bin/pip3 install "flit>3.2" - .venv/bin/flit install --pth-file + .venv/bin/pip3 install --upgrade pip wheel + .venv/bin/pip3 install -e ".[docs,dev,test]" devenv: prepareenv ## setup development environment including precommit hooks .venv/bin/pre-commit install --install-hooks @@ -104,5 +104,4 @@ repo: prepareenv ## complete project setup with development environment and git git branch -m main git remote add origin https://git.cpi.imtek.uni-freiburg.de/holgi/sensospot_parser.git git push -u origin main --no-verify - .venv/bin/pre-commit install --install-hooks