diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | pyproject.toml | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -60,7 +60,7 @@ all: build .PHONY: build build: $(LIBBE_VERSION) - $(PYTHON) setup.py build + $(PYTHON) -mbuild -n .PHONY: doc doc: $(DOC) @@ -70,7 +70,7 @@ install: build doc $(PYTHON) setup.py install ${INSTALL_OPTIONS} test: build - $(PYTHON) test.py + PYTHONPATH=build/lib $(PYTHON) test.py .PHONY: clean clean: diff --git a/pyproject.toml b/pyproject.toml index 8dd1fe6..cf84758 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=64", "setuptools_scm>=8"] +requires = ["setuptools>=64", "setuptools_scm>=8", "build"] build-backend = "setuptools.build_meta" [project] |