[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Build and run-time triplets



On Wed, Jun 08, 2022 at 10:43:57PM +0100, Julian Gilbey wrote:
> I'd like to ask for some help.  I'm working on packaging pydevd, which
> builds a private .so library.  Ordinary extensions built using cython
> or similar end up being called "foo.cpython-310-x86_64-linux-gnu.so",
> but this library, which is not dependent on the Python version, should
> presumably be called "bar.x86_64-linux-gnu.so".
If it's just a private library and not a Python module it should be called
bar.so.

> Question 1: How do I determine (within Python) the triplet to use when
> building the library?
You don't.

> Question 2: How do I determine (within Python) the triplet to use when
> loading the library at runtime?
You don't, but also how are you actually loading it?

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature


Reply to: