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


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

Re: Understanding pybuild

From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Understanding pybuild
Date 2019-12-20 06:50 +0100
Message-ID <zfjkJ-72l-5@gated-at.bofh.it> (permalink)
References <zf36h-52I-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | 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