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


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

Installation paths

Path csiph.com!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!news.uzoreto.com!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:20:01 +0200
Message-ID <Eudvr-2g91-1@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:15:22 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 AOAM5309U9vUsIDkbaKmtJTY3FPsME/dUKkkp3AlM9XS6DjZdccydRf0 GtPFDEgauPcdQzRc1sNlZQhXwyoSAaE=
X-Google-SMTP-Source ABdhPJxoL90WulnyFPpndFv8q/i3nHhRAjLAu/RUaUPuJDvq3FAFaDHLTwoxQjT4U2UL2pFxWJmReg==
X-Received by 2002:ac2:54ac:0:b0:478:c1ed:2f5 with SMTP id w12-20020ac254ac000000b00478c1ed02f5mr6649365lfk.152.1654253926054; Fri, 03 Jun 2022 03:58:46 -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/19958
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/247e827d-b7ee-8d98-d114-17f23d10e1b0@gmail.com
Approved robomod@news.nic.it
Lines 27
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 3 Jun 2022 12:58:44 +0200
X-Original-Message-ID <247e827d-b7ee-8d98-d114-17f23d10e1b0@gmail.com>
Xref csiph.com linux.debian.maint.python:14130

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

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


Thread

Installation paths Alec Leamas <leamas.alec@gmail.com> - 2022-06-03 13:20 +0200
  Re: Installation paths Dmitry Shachnev <mitya57@debian.org> - 2022-06-03 13:40 +0200

csiph-web