aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2024-04-15 19:00:34 +0200
committerMatěj Cepl <mcepl@cepl.eu>2024-04-15 19:00:34 +0200
commit91c5a4363d022d34bc3b04341d540e424981e1a7 (patch)
tree88fbc1cba63a8ce3c236a995e0be9720cb80f9d3
parent67c0a018d0e0de7dfbaa8429b540339b6fe71e6d (diff)
downloadbugseverywhere-python3.tar.gz
Restore Makefile to work with pyproject.toml.HEADpython3
-rw-r--r--Makefile4
-rw-r--r--pyproject.toml2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9d2993b..1e8f5ad 100644
--- a/Makefile
+++ b/Makefile
@@ -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]