From 1652c70c9730c860146ebb4873f45bb75ede75a3 Mon Sep 17 00:00:00 2001 From: Tamas Gal <tgal@km3net.de> Date: Mon, 31 Aug 2020 10:15:03 +0200 Subject: [PATCH] Cleanup makefile --- {{cookiecutter.project_slug}}/Makefile | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/{{cookiecutter.project_slug}}/Makefile b/{{cookiecutter.project_slug}}/Makefile index eb77a3b..5c383bf 100644 --- a/{{cookiecutter.project_slug}}/Makefile +++ b/{{cookiecutter.project_slug}}/Makefile @@ -7,8 +7,8 @@ all: install install: pip install . -install-dev: dependencies-dev - pip install -e . +install-dev: + pip install -e ".[dev]" venv: python3 -m venv venv @@ -27,15 +27,9 @@ test-loop: py.test tests ptw --ext=.py,.pyx --ignore=doc tests -dependencies: - pip install -Ur requirements.txt - -dependencies-dev: - pip install -Ur requirements-dev.txt - yapf: yapf -i -r $(PKGNAME) yapf -i -r tests yapf -i setup.py -.PHONY: all clean install install-dev venv test test-cov test-loop dependencies dependencies-dev yapf +.PHONY: all clean install install-dev venv test test-cov test-loop yapf -- GitLab