Re: Understanding pybuild

2019-12-20 Thread Dmitry Shachnev
On Fri, Dec 20, 2019 at 08:19:41AM +0100, Ole Streicher wrote: > That would formalize it a bit, but still does not solve the underlying > problem: it requires that I maintain the list of these files manually, > while upstream already does this (by adding them to the list of data > files). > > And a

Re: Understanding pybuild

2019-12-19 Thread Ole Streicher
Hi Dmitry, Dmitry Shachnev writes: > On Thu, Dec 19, 2019 at 01:09:40PM +0100, Ole Streicher wrote: >> 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

Re: Understanding pybuild

2019-12-19 Thread Dmitry Shachnev
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 bui

Understanding pybuild

2019-12-19 Thread Ole Streicher
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/cpyth