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


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

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 Onur Aslan <onur@onur.im>
Newsgroups linux.debian.maint.python
Subject Installing python modules in a non-standard way
Date Sun, 25 Oct 2015 09:40:01 +0100
Message-ID <qnp0l-8fj-3@gated-at.bofh.it> (permalink)
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Sun Oct 25 08:37:33 2015
Old-Return-Path <onuraslan@gmail.com>
X-Amavis-Spam-Status No, score=-7.697 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -7
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=eOP9QQFhCd4SpvVEKIISpmDc5yekw/5jJCsgiB8KBJI=; b=v1zfsUAZtIwB9Cw7q/6MJD01/2iAD5e/32C7duDOZWDfrU0u9C9ZsjNT+Vrh368CXT DUWep3+l5NT5jMhBZJ1LN/qsKUDKalm9p6Y6GNpCmFb8HF42Mgtu2S0OC4Hup2PdppCq gkooE5HTHGESsjtDJcpt2qkRZMxnVqxuWrYn5dlswwCmSpimkiU8QQ7CpRpMKvHFX2kz Go+eglXqEVgsHLDXc7tofSs3B8SkmhyBeJDoqp84OP1KzqT9V0iYpSLLFBtSBFJTpdYd mIh8n+Azm/cyPJQAm386ZBxYLbK6XLUcKoRsnaCLUsHENZb78DJtxDxRK+xKNe3wypfD Sm7g==
X-Received by 10.194.80.42 with SMTP id o10mr32086896wjx.31.1445762236460; Sun, 25 Oct 2015 01:37:16 -0700 (PDT)
Sender robomod@news.nic.it
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.23 (2014-03-12)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/13105
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20151025083713.GA23207@domus
Approved robomod@news.nic.it
Lines 28
Organization linux.* mail to news gateway
X-Original-Date Sun, 25 Oct 2015 10:37:13 +0200
X-Original-Message-ID <20151025083713.GA23207@domus>
X-Original-Sender Onur Aslan <onuraslan@gmail.com>
Xref csiph.com linux.debian.maint.python:7793

Show key headers only | View raw


Hi. I asked this in IRC channel but didn't get a clear answer.

I have a library package written in C and it's also providing
python wrappers.

You can see the package in here:
https://anonscm.debian.org/cgit/collab-maint/gumbo-parser.git/

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. I have
to build C library manually if I use pybuild buildsystem
for this package.

I've been using $(py3versions -rv debian/control) in
override_dh_auto_install to install python3 package. But since
python3-all became depended on python3.4 and python3.5,
py3versions started to return two python versions and my override
is no longer working.

I decided to use $(py3versions -d) but I am not sure this is good
idea. It's skipping X-Python3-Version defined in d/control.

Piotr suggested me to make a loop to install python3.4 and python3.5
versions of package. But is it really necessary?

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

Back to linux.debian.maint.python | Previous | NextNext 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