chore: setuptools enable legacy-editable

This commit is contained in:
jo 2022-08-24 20:44:29 +02:00 committed by Kyle Robbertze
parent 38bf18cd1f
commit ffc03095f3
1 changed files with 3 additions and 1 deletions

View File

@ -27,11 +27,13 @@ $(VENV):
source $(VENV)/bin/activate
$(MAKE) install
# SETUPTOOLS_ENABLE_FEATURES=legacy-editable is required to work
# around https://github.com/PyCQA/pylint/issues/7306
install: $(VENV)
source $(VENV)/bin/activate
pip install --upgrade pip setuptools wheel
pip install $(SHARED_DEV_REQUIREMENTS)
[[ -z "$(PIP_INSTALL)" ]] || pip install $(PIP_INSTALL)
[[ -z "$(PIP_INSTALL)" ]] || SETUPTOOLS_ENABLE_FEATURES=legacy-editable pip install $(PIP_INSTALL)
.PHONY: .format
.format: $(VENV)