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


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

Re: How to manually install python scripts and needed modules (Was: How to tweak homebrew install target for Gubbins)

Path csiph.com!news.mixmin.net!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Piotr Ożarowski <piotr@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: How to manually install python scripts and needed modules (Was: How to tweak homebrew install target for Gubbins)
Date Thu, 26 Nov 2015 20:10:02 +0100
Message-ID <qza5A-Qe-13@gated-at.bofh.it> (permalink)
References <qyH3C-67h-67@gated-at.bofh.it> <qz9Md-us-1@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Nov 26 19:07:04 2015
Old-Return-Path <piotr@ozarowski.pl>
X-Amavis-Spam-Status No, score=-6.979 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.1
Mail-Followup-To debian-python@lists.debian.org
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
Content-Transfer-Encoding 8bit
X-Operating-System Debian GNU/Linux (3.16.0-4-amd64)
User-Agent Mutt/1.5.23 (2014-03-12)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/13225
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20151126190636.GQ16403@sar0.p1otr.com
Approved robomod@news.nic.it
Lines 25
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 26 Nov 2015 20:06:36 +0100
X-Original-Message-ID <20151126190636.GQ16403@sar0.p1otr.com>
X-Original-References <20151125120431.GG19474@an3as.eu> <20151126184112.GI30209@an3as.eu>
Xref csiph.com linux.debian.maint.python:7910

Show key headers only | View raw


[Andreas Tille, 2015-11-26]
> since nobody seems to have any experience with brew in my last
> commit to the gubbins packaging git[1] I tried to install the
> included python files manually.  Unfortunately for the python
> module I installed to
> 
>    /usr/share/pyshared/gubbins

pyshared is an implementation detail of some Python related tools in
Debian. Please do not use it.

> the processing to /usr/lib/python3.4/gubbins does not work.  Any
> hint how to do this correctly (or is my attempt a bad idea in
> general)?

if it's a public Python module, install into
/usr/lib/python3/dist-packages/, if not (and name of your binary package
suggests that), use anything but that dir, f.e. /usr/share/gubbins/
(remember to install there also scripts or your will have to patch them
to update sys.path)

-- 
Piotr Ożarowski                         Debian GNU/Linux Developer
www.ozarowski.pl          www.griffith.cc           www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

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


Thread

How to tweak homebrew install target for Gubbins Andreas Tille <andreas@an3as.eu> - 2015-11-25 13:10 +0100
  How to manually install python scripts and needed modules (Was: How  to tweak homebrew install target for Gubbins) Andreas Tille <andreas@an3as.eu> - 2015-11-26 19:50 +0100
    Re: How to manually install python scripts and needed modules (Was:  How to tweak homebrew install target for Gubbins) Piotr Ożarowski <piotr@debian.org> - 2015-11-26 20:10 +0100

csiph-web