Re: location of arch-dependent python module

2020-11-18 Thread Kasper Peeters
> CMake is not the usual choice of upstream build system for Python > modules This is a module written in C++, for which CMake makes a lot of sense (the tool originally did not have Python bindings at all). > It looks like this is the solution that you were referring to: > > https://github.com/k

Re: location of arch-dependent python module

2020-11-17 Thread Paul Wise
On Tue, 2020-11-17 at 09:58 +, Kasper Peeters wrote: > I can of course use a Debian-specific toolset to do the installation, > but that doesn't really solve my problem because it still leaves the > same issues on other platforms. So at the moment my CMakeLists.txt > contains a couple of ugly c

Re: location of arch-dependent python module

2020-11-17 Thread Kasper Peeters
> I can of course use a Debian-specific toolset to do the installation, > but that doesn't really solve my problem To clarify that: no, I am not attempting to replace the Debian toolset for a package meant for the Debian repos; someone is taking care of the Debian package of my software for the of

Re: location of arch-dependent python module

2020-11-17 Thread Kasper Peeters
> The default tools should do that automatically, which ones are you > using and how did you solve it with them? The problem is finding the right default solution in the right default tool ;-) On a serious note, my software builds on various platforms/distros and I need packages for as many of th

Re: location of arch-dependent python module

2020-11-17 Thread Paul Wise
On Tue, Nov 17, 2020 at 8:47 AM Kasper Peeters wrote: > Thanks to both, it's solved now. The default tools should do that automatically, which ones are you using and how did you solve it with them? -- bye, pabs https://wiki.debian.org/PaulWise

Re: location of arch-dependent python module

2020-11-17 Thread Kasper Peeters
> Most Python packages appear to put .so files in a different location: > > $ apt-file search x86_64-linux-gnu | grep python | grep .so | grep > packages | grep ^python3- | head -n1 > python3-acora: /usr/lib/python3/dist-packages/acora/_acora. Yeah, I should have done my homework. What I missed w

Re: location of arch-dependent python module

2020-11-16 Thread Paul Wise
On Mon, Nov 16, 2020 at 2:18 PM Kasper Peeters wrote: > I am trying to package a program which contains a Python module. This > module is not written in Python, but in C++/pybind11. It seems to me > that the '.so' file this produces should go into an arch-dependent > directory, e.g. > >/usr/li

location of arch-dependent python module

2020-11-16 Thread Kasper Peeters
I am trying to package a program which contains a Python module. This module is not written in Python, but in C++/pybind11. It seems to me that the '.so' file this produces should go into an arch-dependent directory, e.g. /usr/lib/x86_64-linux-gnu/python3.6/site-packages/ However, these are no