Skip to content

Commit a3f24d9

Browse files
committed
Disable build isolation for editable installs
1 parent f8c7109 commit a3f24d9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@
2424
PKG_NAME = rest.connector
2525
BUILDDIR = $(shell pwd)/__build__
2626
PYTHON = python3
27+
PIP = $(PYTHON) -m pip
2728
TESTCMD = $(PYTHON) -m unittest discover tests
2829
DISTDIR = $(BUILDDIR)/dist
2930

3031
DEPENDENCIES = f5-icontrol-rest requests_mock requests dict2xml ciscoisesdk
32+
BUILD_DEPENDENCIES = meson-python 'meson>=1.10.0' ninja build
3133

3234
.PHONY: clean package distribute distribute_staging distribute_staging_external\
3335
develop undevelop populate_dist_dir help docs pubdocs tests
@@ -89,9 +91,9 @@ develop:
8991
@echo "Building and installing $(PKG_NAME) development distributable: $@"
9092
@echo ""
9193

92-
@pip uninstall -y rest.connector || true
93-
@pip install $(DEPENDENCIES) build
94-
@$(PYTHON) -m pip install -e . --no-deps
94+
@$(PIP) uninstall -y rest.connector || true
95+
@$(PIP) install $(DEPENDENCIES) $(BUILD_DEPENDENCIES)
96+
@$(PIP) install --no-build-isolation -e . --no-deps
9597

9698
@echo ""
9799
@echo "Completed building and installing: $@"

0 commit comments

Comments
 (0)