Skip to content

Commit 2850eae

Browse files
deronnaxMathieu Dupuy
authored and
Mathieu Dupuy
committed
fix Makefile build
1 parent d55543e commit 2850eae

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Makefile

+4-3
Original file line numberDiff line numberDiff line change
@@ -124,16 +124,17 @@ test-dist: test-sdist test-bdist-wheel
124124

125125
test-sdist: clean venv
126126
@echo $(H1)Testing sdist build an installation$(H1END)
127-
$(VENV_PYTHON) setup.py sdist
127+
$(VENV_PIP) install build
128+
$(VENV_PYTHON) -m build --sdist
128129
$(VENV_PIP) install --force-reinstall --upgrade dist/*.gz
129130
$(VENV_BIN)/http --version
130131
@echo
131132

132133

133134
test-bdist-wheel: clean venv
134135
@echo $(H1)Testing wheel build an installation$(H1END)
135-
$(VENV_PIP) install wheel
136-
$(VENV_PYTHON) setup.py bdist_wheel
136+
$(VENV_PIP) install build
137+
$(VENV_PYTHON) -m build --wheel
137138
$(VENV_PIP) install --force-reinstall --upgrade dist/*.whl
138139
$(VENV_BIN)/http --version
139140
@echo

0 commit comments

Comments
 (0)