commit: b691ba46eeaf9ddd767519d977869b561a643841 Author: Brian Harring <ferringb <AT> gmail <DOT> com> AuthorDate: Fri Jan 26 22:56:10 2024 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Sat Mar 9 18:07:10 2024 +0000 URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=b691ba46
Add `make dev-environment` to simplify setup for devs. Signed-off-by: Brian Harring <ferringb <AT> gmail.com> Closes: https://github.com/pkgcore/pkgcore/pull/433 Signed-off-by: Sam James <sam <AT> gentoo.org> Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> Makefile | 4 ++++ README.rst | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/Makefile b/Makefile index 84ed70add..1efb6afd1 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 7b18f6802..e02156aa0 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 =====
