Browse Source

changed to pip for editable installs

master
Holger Frey 2 years ago
parent
commit
6f5fe4831f
  1. 11
      Makefile

11
Makefile

@ -85,14 +85,14 @@ docs: ## build the documentation using mkdocs @@ -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 @@ -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

Loading…
Cancel
Save