Skip to content

Commit

Permalink
added 'make deps-create'
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWillner committed Apr 1, 2020
1 parent 45f4d75 commit 5bd6df3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ help:
@echo " * clean - Cleanup (e.g. pyc files)."
@echo " * auto-style - Automatially style code (autopep8)."
@echo " * code-style - Check code style (pycodestyle)."
@echo " * code-lint - Check code lints (pyflakes, pyline)."
@echo " * code-lint - Check code lints (pyflakes, pyline, flake8)."
@echo " * code-count - Count code lines (cloc)."
@echo " * deps-install - Install dependencies (see requirements.txt)."
@echo " * deps-update - Update dependencies (via pur)."
@echo " * deps-update - Update dependencies (pur)."
@echo " * deps-create - Create dependencies (pipreqs)."
@echo " * feedback - Create a GitHub issue."

run:
Expand Down Expand Up @@ -63,5 +64,9 @@ deps-install:
@type $(PIP) >/dev/null 2>&1 || (echo "Run 'curl https://bootstrap.pypa.io/get-pip.py|sudo python3' first." >&2 ; exit 1)
@$(PIP) install -r requirements.txt

deps-create:
@type pipreqs >/dev/null 2>&1 || (echo "Run 'pip3 install pipreqs' first." >&2 ; exit 1)
@pipreqs --use-local --force .

feedback:
@open https://github.com/AlexanderWillner/python-boilerplate/issues

0 comments on commit 5bd6df3

Please sign in to comment.