From b691ba46eeaf9ddd767519d977869b561a643841 Mon Sep 17 00:00:00 2001 From: Brian Harring Date: Fri, 26 Jan 2024 14:56:10 -0800 Subject: Add `make dev-environment` to simplify setup for devs. Signed-off-by: Brian Harring Closes: https://github.com/pkgcore/pkgcore/pull/433 Signed-off-by: Sam James Signed-off-by: Arthur Zamarin --- Makefile | 4 ++++ README.rst | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/Makefile b/Makefile index 84ed70ad..1efb6afd 100644 --- a/Makefile +++ b/Makefile @@ -17,3 +17,7 @@ clean: .PHONY: format format: $(PYTHON) -m black . + +.PHONY: dev-environment +dev-environment: + $(PYTHON) -m pip install -e .[test,doc,formatter] diff --git a/README.rst b/README.rst index 7b18f680..e02156aa 100644 --- a/README.rst +++ b/README.rst @@ -52,6 +52,14 @@ Installing from a tarball:: pip install . +Developing +========== + +Installing the dependencies for testing, formatting, and documentation building +into an editable environment:: + + make dev-environment + Tests ===== -- cgit v1.2.3-65-gdbad