From 3e649ab027230d1c0e1813bb989fb4754eeedb42 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Sun, 29 Jan 2023 14:28:39 -0600 Subject: [PATCH] build: conda -> venv --- .gitignore | 3 ++- Makefile | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) 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)