Re: [LAD] installing python extensions

2022-08-15 Thread Christopher Arndt
Am 15.08.22 um 14:30 schrieb Fons Adriaensen: I have some mixed python/C++ packages, e.g. zita-audiotools and zita-jacktools. To install these I expect the following to happen: 1. The C++ parts are compiled and combined into a *.so file which is a python extension. 2. The *.so and the

[LAD] installing python extensions

2022-08-15 Thread Fons Adriaensen
Hello all, I have some mixed python/C++ packages, e.g. zita-audiotools and zita-jacktools. To install these I expect the following to happen: 1. The C++ parts are compiled and combined into a *.so file which is a python extension. 2. The *.so and the python parts, any data etc. get

Re: [LAD] installing python extensions

2022-08-15 Thread Fons Adriaensen
On Mon, Aug 15, 2022 at 10:54:06AM -0400, Marc Lavallée wrote: > Christopher Arndt sent a long and detailed answer, here's a shorter one. One (metric) unit of Eternal Gratitude to both of you. So > pip install . will install to ~/.local/lib while > sudo pip install . will install to

Re: [LAD] installing python extensions

2022-08-15 Thread Christopher Arndt
Am 15.08.22 um 21:21 schrieb Fons Adriaensen: I find the destination directory depending on who the user pretends to be a bit strange, but it works ! "pip install" as a normal user used to fail with an (apparently for most users) incomprehensible error message about not being able to write to

Re: [LAD] installing python extensions

2022-08-15 Thread Christopher Arndt
Am 15.08.22 um 23:14 schrieb Marc Lavallée: Le 2022-08-15 à 15 h 21, Fons Adriaensen a écrit : sudo pip install . will install to /usr/local/lib When installing with the root user, the default prefix is /usr/local because /usr is usually managed by the system. Actually, it will install to