Le 2022-08-15 à 17 h 33, Christopher Arndt a écrit :
BTW, the recommended way to run pip is actually

python -m pip <options>

because then you can control (via PATH or the command name you use) which Python interpreter is used.

So the Makefile could be:

PIP = python3 -m pip
PKG = zita_audiotools

build:
    $(PIP) wheel .

install:
    $(PIP) install --force-reinstall $(PKG)*.whl

uninstall:
    $(PIP) uninstall $(PKG)

clean:
    rm -rf build $(PKG)*.egg-info $(PKG)*.whl

Marc