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


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

Re: Understanding pybuild

Path csiph.com!news.dns-netz.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod
From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Understanding pybuild
Date Fri, 20 Dec 2019 06:50:01 +0100
Message-ID <zfjkJ-72l-5@gated-at.bofh.it> (permalink)
References <zf36h-52I-3@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Dec 20 05:49:26 2019
Old-Return-Path <mitya57@gmail.com>
X-Amavis-Spam-Status No, score=-11.141 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.218, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SBL=0.141] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-lj1-f175.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=jcL1+Tqjtj2sOH+XFs4Y3mACNTEx77tZCrYjybBXQwQ=; b=QSHFqOSYrSTF3L0X+GNyQaOyw/NN5fOADpkUlEGYCWnGek9h7uruQgVAKpJ8gZKWoz 1IT4z8mpjTvNg32gY3UUiStqZtLevoLhOqKHjivXvtgd6lGwI1JD7Q96a1RsJ3zsJl0J oAZw/DBMv57mZaHWanJIvMBESBCyowDfthX79MutoGrxZXsJG6svOv349rMvfOMGX5HQ 9Z9Xcy7X6nWyIRXkboCXXi9irUUTQHWw6gnm2vcl0AlrejS4A/38ybPNqGvlaqRsm9mr bg37+OmcasO1xxLPjYjmNCflZ1qvHykd4uj9CaxxZNFt6I8YRpecQPdsPb4KDt+J1qi6 kiOA==
X-Gm-Message-State APjAAAXEjEzEFnqLP9ipIlsPYGm0sO7ontAmehp4nRgXrWhi/P+Z6n88 tf029KXYdF/XSZfKv38DohM=
X-Google-SMTP-Source APXvYqzf1C+x7hI1odPlPFOHv61VBXW5iXn4QXOaDSjIUwMTDFApPQI/lCwOlFGMYE0FSw+thngi9Q==
X-Received by 2002:a2e:8188:: with SMTP id e8mr2075859ljg.57.1576820951190; Thu, 19 Dec 2019 21:49:11 -0800 (PST)
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf"
Content-Disposition inline
User-Agent Mutt/1.12.2 (2019-09-21)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/17766
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20191220054907.GA382294@mitya57.me
Approved robomod@news.nic.it
Lines 49
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python@lists.debian.org
X-Original-Date Fri, 20 Dec 2019 08:49:07 +0300
X-Original-Message-ID <20191220054907.GA382294@mitya57.me>
X-Original-References <87tv5w34aj.fsf@orrococo>
Xref csiph.com linux.debian.maint.python:12163

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Ole!

On Thu, Dec 19, 2019 at 01:09:40PM +0100, Ole Streicher wrote:
> Hi,
>
> I am currently updating scikit-image (skimage) to its newest version,
> and I have some difficulties to understand how pybuild works (for
> setup.py packages):
>
> 1. first, dh_auto_build calls "python3.X setup.py build" to create the
> packages (Python files and compiled extensions) in
> ..pybuild/cpython3_3.X/. This however does not include the copying of any
> data files.
>
> 2. dh_auto_test then tries runs the tests in .pybuild. If the test need
> data files installed, they must be copied manually (right?).

You can use debian/pybuild.testfiles to copy the test files. See pybuild(1)
for details.

--
Dmitry Shachnev

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


Thread

Understanding pybuild Ole Streicher <olebole@debian.org> - 2019-12-19 13:30 +0100
  Re: Understanding pybuild Dmitry Shachnev <mitya57@debian.org> - 2019-12-20 06:50 +0100
    Re: Understanding pybuild Ole Streicher <olebole@debian.org> - 2019-12-20 08:40 +0100
      Re: Understanding pybuild Dmitry Shachnev <mitya57@debian.org> - 2019-12-20 12:20 +0100

csiph-web