mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
make: install check requirements via install-dev
This commit is contained in:
parent
a9b6488dac
commit
6354db82c4
2 changed files with 8 additions and 2 deletions
3
Makefile
3
Makefile
|
|
@ -49,8 +49,7 @@ release-deb:
|
||||||
|
|
||||||
install-dev:
|
install-dev:
|
||||||
pip install -U pip setuptools wheel
|
pip install -U pip setuptools wheel
|
||||||
pip install -e '.[test,docs]'
|
pip install -e '.[test,check,docs]'
|
||||||
pip install -U pre-commit
|
|
||||||
set -xe && if [ "$(REQUIREMENTS)" = "minimal" ]; then \
|
set -xe && if [ "$(REQUIREMENTS)" = "minimal" ]; then \
|
||||||
pip install pyproject-dependencies && \
|
pip install pyproject-dependencies && \
|
||||||
pip install -U --force-reinstall $$(pyproject-dependencies . | sed 's/>/=/'); \
|
pip install -U --force-reinstall $$(pyproject-dependencies . | sed 's/>/=/'); \
|
||||||
|
|
|
||||||
|
|
@ -58,6 +58,13 @@ docs = [
|
||||||
"sphinx_rtd_theme",
|
"sphinx_rtd_theme",
|
||||||
"setuptools_scm",
|
"setuptools_scm",
|
||||||
]
|
]
|
||||||
|
check = [
|
||||||
|
"mypy",
|
||||||
|
"ruff",
|
||||||
|
"types-docutils",
|
||||||
|
"types-requests",
|
||||||
|
"types-setuptools",
|
||||||
|
]
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
vdirsyncer = "vdirsyncer.cli:app"
|
vdirsyncer = "vdirsyncer.cli:app"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue