diff --git a/.gitignore b/.gitignore index f51d623..bd4f4d0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .task.cfg.dev.mk .task.mk -env/ +.venv + diff --git a/Makefile b/Makefile index 42e54d7..b430e10 100644 --- a/Makefile +++ b/Makefile @@ -7,12 +7,12 @@ msg = $(if $(tprint),$(call tprint,{a.bold}==> {a.magenta}$(1){a.end}),@echo '== bootstrap: env hooks ## generate local dev environment |> -ms b_magenta -gs b_cyan env: ## $(call msg,Bootstrapping Environment) - @mamba create -p ./env python jinja2 black -y - @mamba run -p ./env pip install yartsu + @python -m venv .venv + @./.venv/bin/pip install jinja2 black yartsu hooks: ## @git config core.hooksPath .githooks docs-env: ## - @mamba run -p ./env pip install mkdocs-material mkdocs-git-revision-date-localized-plugin + @./.venv/bin/pip install -r ./requirements-docs.txt l lint: ## lint the python $(call msg,Linting)