Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #14129

Installation paths

Path csiph.com!1.us.feeder.erje.net!3.us.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Alec Leamas <leamas.alec@gmail.com>
Newsgroups linux.debian.maint.python
Subject Installation paths
Date Fri, 03 Jun 2022 13:10:01 +0200
Message-ID <EudlL-2g5V-5@gated-at.bofh.it> (permalink)
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Jun 3 11:04:36 2022
Old-Return-Path <leamas.alec@gmail.com>
X-Amavis-Spam-Status No, score=-7.209 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
X-Gm-Message-State AOAM532a/tLc3kAosDrVH29/4hGFhRm1WUKJuk4hFyITEZfs9xQ3bI4S hhdCJmfbbxaUx1Fjk8cDCzmM8s0oxEI=
X-Google-SMTP-Source ABdhPJxTB/kWW3B7pJP5A2BjzmaxPnFbZfDEibKx19powP9AoDW0U6xDDsAt1CtKkCuHxlIR2Ezfqw==
X-Received by 2002:a05:6512:6b:b0:479:839:7802 with SMTP id i11-20020a056512006b00b0047908397802mr6613416lfo.57.1654254260603; Fri, 03 Jun 2022 04:04:20 -0700 (PDT)
MIME-Version 1.0
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0
Content-Language en-US
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Mailing-List <debian-python@lists.debian.org> archive/latest/19957
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/4128b74b-bb5d-f7f0-c680-1d8152a3108d@gmail.com
Approved robomod@news.nic.it
Lines 30
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 3 Jun 2022 13:04:18 +0200
X-Original-Message-ID <4128b74b-bb5d-f7f0-c680-1d8152a3108d@gmail.com>
Xref csiph.com linux.debian.maint.python:14129

Show key headers only | View raw


Dear list,

This issue was started on debian-devel. However, this list is perhaps a 
better choice (?)

I try handle a package which installs a partly compiled, 
architecture-dependent python module. That is, besides some normal 
python files it also contains a compiled, architecture-dependent so-file 
which is imported by the python files.

Until now  this has been installed 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.

Any thoughts out there?

Cheers!
--alec


[1] https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/1843988

PS: I messed up the subscription, this is message is possibly 
duplicated. Sorry in that case. DS

Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread


Thread

Installation paths Alec Leamas <leamas.alec@gmail.com> - 2022-06-03 13:10 +0200

csiph-web