Changeset View
Changeset View
Standalone View
Standalone View
Makefile.local
check-mypy: | check-mypy: | ||||
anlambert: You can remove this and simply remove the `-e` option of pip. | |||||
Done Inline Actionsgreat, I thought it was useful for local runs vsellier: great, I thought it was useful for local runs | |||||
Not Done Inline ActionsI believe @anlambert meant this: ifeq ($(PIP_INSTALL_EDITABLE),yes) PIP_INSTALL_OPTIONS="-e" endif But I'd rather keep it explicit vlorentz: I believe @anlambert meant this:
```
ifeq ($(PIP_INSTALL_EDITABLE),yes)
PIP_INSTALL_OPTIONS="… | |||||
Not Done Inline ActionsNope, we can simply drop the use of -e. It was a mistake of mine. anlambert: Nope, we can simply drop the use of `-e`. It was a mistake of mine. | |||||
@echo "no op - swh-docs does not need typechecking, skipping" | @echo "no op - swh-docs does not need typechecking, skipping" | ||||
all: | all: | ||||
@echo Building the whole documentation from source code repositories | @echo Building the whole documentation from source code repositories | ||||
@echo available in ../ via tox. This can take a while. | @echo available in ../ via tox. This can take a while. | ||||
@echo Please be patient. | @echo Please be patient. | ||||
tox -vv -r -e sphinx-dev | tox -vv -r -e sphinx-dev | ||||
pip-install-swh-dev: | pip-install-swh-dev: | ||||
python3 -m pip install . | python3 -m pip install . | ||||
python3 -m pip install pifpaf | python3 -m pip install pifpaf | ||||
sed 's/#.*$$//;/^$$/d' requirements-swh-dev.txt | \ | sed 's/#.*$$//;/^$$/d' requirements-swh-dev.txt | \ | ||||
while IFS= read -r package; do \ | while IFS= read -r package; do \ | ||||
python3 -m pip install -e $$package ; \ | python3 -m pip install $$package ; \ | ||||
done | done |
You can remove this and simply remove the -e option of pip.