[LAD] installing python extensions

Marc Lavallée marc at hacklava.net
Mon Aug 15 23:48:34 CEST 2022


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.linuxaudio.org/archives/linux-audio-dev/attachments/20220815/69d575ff/attachment.html>


More information about the Linux-audio-dev mailing list