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


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

Re: Installing python modules in a non-standard way

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Ben Finney <ben+debian@benfinney.id.au>
Newsgroups linux.debian.maint.python
Subject Re: Installing python modules in a non-standard way
Date Sun, 25 Oct 2015 09:50:02 +0100
Message-ID <qnpa2-8lF-7@gated-at.bofh.it> (permalink)
References <qnp0l-8fj-3@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Sun Oct 25 08:46:47 2015
Old-Return-Path <debian-python@m.gmane.org>
X-Amavis-Spam-Status No, score=-7.709 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.1
X-Injected-Via-Gmane http://gmane.org/
Lines 33
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host jigong.madmonks.org
X-Public-Key-ID 0xAC128405
X-Public-Key-Fingerprint 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405
X-Public-Key-URL http://www.benfinney.id.au/contact/bfinney-pubkey.asc
X-Post-From Ben Finney <bignose+hates-spam@benfinney.id.au>
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Cancel-Lock sha1:QKc9kpJ7yn6u/VAvdhiSdck4f3s=
X-Mailing-List <debian-python@lists.debian.org> archive/latest/13106
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/85pp03nxny.fsf@benfinney.id.au
Approved robomod@news.nic.it
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 25 Oct 2015 19:46:09 +1100
X-Original-Message-ID <85pp03nxny.fsf@benfinney.id.au>
X-Original-References <20151025083713.GA23207@domus>
X-Original-X-Complaints-To usenet@ger.gmane.org
Xref csiph.com linux.debian.maint.python:7794

Show key headers only | View raw


Onur Aslan <onur@onur.im> writes:

> I can't use --buildsystem=pybuild to install python wrappers, this
> package is not providing a configure script or Makefile. pybuild is
> not invoking autoreconf to generate a configure script.

Can you add a target to ‘debian/rules’ that will invoke ‘autoreconf’, as
a pre-requisite for the ‘override_dh_build’ target?

> Piotr suggested me to make a loop to install python3.4 and python3.5
> versions of package.

I don't use a loop, but rather a pattern-matching target and a Makefile
substitution variable to generate targets for all the supported Python
versions. It amounts to the same result, but is not “a loop”.

> But is it really necessary?

In the absence of Pybuild, yes I've found that explicitly making
separate targets for each supported Python version is necessary. This is
one of the main benefits of migrating to Pybuild.

> I am wondering what is proper way to install python modules in this
> package?

My suggestion: work hard to get the package to provide what Pybuild
needs, and let Pybuild do its job from there.

-- 
 \          “Our products just aren't engineered for security.” —Brian |
  `\             Valentine, senior vice-president of Microsoft Windows |
_o__)                                                development, 2002 |
Ben Finney

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


Thread

Installing python modules in a non-standard way Onur Aslan <onur@onur.im> - 2015-10-25 09:40 +0100
  Re: Installing python modules in a non-standard way Ben Finney <ben+debian@benfinney.id.au> - 2015-10-25 09:50 +0100
  Re: Installing python modules in a non-standard way Andrey Rahmatullin <wrar@debian.org> - 2015-10-25 10:20 +0100
    Re: Installing python modules in a non-standard way Onur Aslan <onur@onur.im> - 2015-10-25 11:50 +0100
      Re: Installing python modules in a non-standard way Andrey Rahmatullin <wrar@debian.org> - 2015-10-25 12:50 +0100
        Re: Installing python modules in a non-standard way Dmitry Shachnev <mitya57@debian.org> - 2015-10-25 16:30 +0100

csiph-web