mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-21 13:10:35 +00:00
bindings/python: make target to set up env
This commit is contained in:
parent
ac5c8e964f
commit
6a74e515e1
@ -2,9 +2,12 @@ SHELL:=/bin/bash -o pipefail
|
||||
ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
||||
PYTHON:=python3
|
||||
|
||||
venv:
|
||||
env:
|
||||
if [ ! -d $(ROOT_DIR)/env ]; then $(PYTHON) -m venv $(ROOT_DIR)/env; fi
|
||||
|
||||
dev: env
|
||||
source env/bin/activate; pip install black isort pytest; pip install -e .
|
||||
|
||||
documentation:
|
||||
rm -rf ./site && mkdocs build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user