split the requirements into multiple files

This commit is contained in:
Andreas Zweili 2020-10-13 21:28:08 +02:00
parent de3c6eb44f
commit 9f69b4d2dc
3 changed files with 8 additions and 5 deletions

View File

@ -10,9 +10,9 @@ dist/restic-qt: venv
venv: venv/bin/activate venv: venv/bin/activate
venv/bin/activate: requirements.txt venv/bin/activate: requirements/base.txt
test -d venv || python3 -m venv venv test -d venv || python3 -m venv venv
. venv/bin/activate; pip3 install wheel; pip3 install -Ur requirements.txt . venv/bin/activate; pip3 install wheel; pip3 install -Ur requirements/base.txt
touch venv/bin/activate touch venv/bin/activate
init: init:
@ -20,7 +20,7 @@ init:
python3 -m venv venv python3 -m venv venv
. venv/bin/activate . venv/bin/activate
( \ ( \
pip3 install -r requirements.txt; \ pip3 install -r requirements/development.txt; \
pip3 install -e .; \ pip3 install -e .; \
) )

View File

@ -1,4 +1,2 @@
markdownify markdownify
newspaper3k newspaper3k
pytest
pytest-cov

View File

@ -0,0 +1,5 @@
-r base.txt
pytest
pytest-cov
flake8