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

Re: Python installation paths



On Thu, Jun 02, 2022 at 07:19:56PM +0200, Alec Leamas wrote:
> Dear list,
> 
> I try handle a package which installs a partly compiled,
> architecture-dependent python module. Until now  this has been done in
> /usr/lib/triplet/python3.10/site-packages. This scheme has basically worked
> fine.
> 
> However, here is an Ubuntu bug [1] where a user runs into problems because
> this installation path is not in sys.path by default.
> 
> I have been trying to look in the python policy docs, but cannot find the
> exact way to install code like this, in the policy [2]
> parlance an "extension module".
Not sure where is this documented but you can easily check on your system.
It should be /usr/lib/python3/dist-packages/*.cpython-3*-x86_64-linux-gnu.so


-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature


Reply to: