|
|
|
@ -1,4 +1,4 @@
@@ -1,4 +1,4 @@
|
|
|
|
|
.PHONY: clean clean-test clean-pyc clean-build docs help |
|
|
|
|
.PHONY: clean clean-test clean-pyc clean-build docs help prepareenv |
|
|
|
|
.DEFAULT_GOAL := help |
|
|
|
|
|
|
|
|
|
define BROWSER_PYSCRIPT |
|
|
|
@ -82,13 +82,16 @@ tox: ## run fully isolated tests with tox
@@ -82,13 +82,16 @@ tox: ## run fully isolated tests with tox
|
|
|
|
|
install: ## install updated project.toml with flint
|
|
|
|
|
flit install --pth-file |
|
|
|
|
|
|
|
|
|
devenv: ## setup development environment
|
|
|
|
|
prepareenv: ## setup a virtualenv and install basic reuqired packages
|
|
|
|
|
python3 -m venv --prompt sensospot_tools .venv |
|
|
|
|
.venv/bin/pip3 install --upgrade pip |
|
|
|
|
.venv/bin/pip3 install "flit>3.2" |
|
|
|
|
.venv/bin/flit install --pth-file |
|
|
|
|
|
|
|
|
|
repo: devenv ## complete project setup with development environment and git repo
|
|
|
|
|
devenv: prepareenv ## setup development environment including pre commit hooks
|
|
|
|
|
.venv/bin/pre-commit install --install-hooks |
|
|
|
|
|
|
|
|
|
repo: prepareenv ## complete project setup with development environment and git repo
|
|
|
|
|
git init . |
|
|
|
|
git add . |
|
|
|
|
git commit -m "import of project template" |
|
|
|
|