chore: setuptools enable legacy-editable
This commit is contained in:
parent
38bf18cd1f
commit
ffc03095f3
|
@ -27,11 +27,13 @@ $(VENV):
|
||||||
source $(VENV)/bin/activate
|
source $(VENV)/bin/activate
|
||||||
$(MAKE) install
|
$(MAKE) install
|
||||||
|
|
||||||
|
# SETUPTOOLS_ENABLE_FEATURES=legacy-editable is required to work
|
||||||
|
# around https://github.com/PyCQA/pylint/issues/7306
|
||||||
install: $(VENV)
|
install: $(VENV)
|
||||||
source $(VENV)/bin/activate
|
source $(VENV)/bin/activate
|
||||||
pip install --upgrade pip setuptools wheel
|
pip install --upgrade pip setuptools wheel
|
||||||
pip install $(SHARED_DEV_REQUIREMENTS)
|
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
|
.PHONY: .format
|
||||||
.format: $(VENV)
|
.format: $(VENV)
|
||||||
|
|
Loading…
Reference in New Issue