chore: install local python deps in editable mode
This commit is contained in:
parent
e97b06496a
commit
b93e1e5570
|
@ -2,7 +2,9 @@ all: lint test
|
|||
|
||||
include ../tools/python.mk
|
||||
|
||||
PIP_INSTALL := --editable .[dev]
|
||||
PIP_INSTALL := \
|
||||
--editable ../shared \
|
||||
--editable .[dev]
|
||||
PYLINT_ARG := libretime_analyzer tests || true
|
||||
MYPY_ARG := libretime_analyzer tests || true
|
||||
BANDIT_ARG := libretime_analyzer || true
|
||||
|
|
|
@ -36,7 +36,6 @@ setup(
|
|||
"dev": [
|
||||
"distro",
|
||||
"types-requests",
|
||||
f"libretime-shared @ file://localhost{here.parent / 'shared'}",
|
||||
],
|
||||
},
|
||||
zip_safe=False,
|
||||
|
|
|
@ -2,7 +2,9 @@ all: lint test
|
|||
|
||||
include ../tools/python.mk
|
||||
|
||||
PIP_INSTALL := --editable .[dev]
|
||||
PIP_INSTALL := \
|
||||
--editable ../shared \
|
||||
--editable .[dev]
|
||||
PYLINT_ARG := libretime_api_client tests || true
|
||||
MYPY_ARG := libretime_api_client tests || true
|
||||
BANDIT_ARG := libretime_api_client || true
|
||||
|
|
|
@ -29,7 +29,6 @@ setup(
|
|||
"dev": [
|
||||
"requests-mock",
|
||||
"types-requests",
|
||||
f"libretime-shared @ file://localhost{here.parent / 'shared'}",
|
||||
],
|
||||
},
|
||||
zip_safe=False,
|
||||
|
|
|
@ -2,7 +2,9 @@ all: lint
|
|||
|
||||
include ../tools/python.mk
|
||||
|
||||
PIP_INSTALL := --editable .[dev]
|
||||
PIP_INSTALL := \
|
||||
--editable ../shared \
|
||||
--editable .[dev]
|
||||
PYLINT_ARG := libretime_api
|
||||
MYPY_ARG := libretime_api
|
||||
BANDIT_ARG := --exclude '*/tests/*' libretime_api || true
|
||||
|
|
|
@ -50,7 +50,6 @@ setup(
|
|||
"pylint-django",
|
||||
"pytest-django",
|
||||
"requests-mock",
|
||||
f"libretime-shared @ file://localhost/{here.parent / 'shared'}#egg=libretime_shared",
|
||||
],
|
||||
},
|
||||
)
|
||||
|
|
|
@ -2,7 +2,10 @@ all: lint
|
|||
|
||||
include ../tools/python.mk
|
||||
|
||||
PIP_INSTALL := --editable .[dev]
|
||||
PIP_INSTALL := \
|
||||
--editable ../api-client \
|
||||
--editable ../shared \
|
||||
--editable .[dev]
|
||||
PYLINT_ARG := libretime_playout tests || true
|
||||
MYPY_ARG := libretime_playout tests || true
|
||||
BANDIT_ARG := libretime_playout || true
|
||||
|
|
|
@ -41,8 +41,6 @@ setup(
|
|||
"dev": [
|
||||
"distro",
|
||||
"requests-mock",
|
||||
f"libretime-api-client @ file://localhost{here.parent / 'api-client'}",
|
||||
f"libretime-shared @ file://localhost{here.parent / 'shared'}",
|
||||
],
|
||||
},
|
||||
zip_safe=False,
|
||||
|
|
|
@ -31,7 +31,6 @@ install: $(VENV)
|
|||
source $(VENV)/bin/activate
|
||||
pip install --upgrade pip setuptools wheel
|
||||
pip install $(SHARED_DEV_REQUIREMENTS)
|
||||
pip cache remove 'libretime_*'
|
||||
[[ -z "$(PIP_INSTALL)" ]] || pip install $(PIP_INSTALL)
|
||||
|
||||
.PHONY: .format
|
||||
|
|
|
@ -2,7 +2,9 @@ all: lint
|
|||
|
||||
include ../tools/python.mk
|
||||
|
||||
PIP_INSTALL := --editable .[dev]
|
||||
PIP_INSTALL := \
|
||||
--editable ../shared \
|
||||
--editable .[dev]
|
||||
PYLINT_ARG := libretime_worker || true
|
||||
MYPY_ARG := libretime_worker || true
|
||||
BANDIT_ARG := libretime_worker || true
|
||||
|
|
|
@ -28,9 +28,7 @@ setup(
|
|||
"requests>=2.25.1,<2.29",
|
||||
],
|
||||
extras_require={
|
||||
"dev": [
|
||||
f"libretime-shared @ file://localhost{here.parent / 'shared'}",
|
||||
],
|
||||
"dev": [],
|
||||
},
|
||||
zip_safe=False,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue