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

Python installation paths



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".

Any thoughts out there?

Cheers!
--alec






[1] https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/1843988
[2] https://www.debian.org/doc/packaging-manuals/python-policy/


Reply to: