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

Re: kmer: Python2 removal in sid/bullseye

2019-12-19 Thread Andreas Tille
Hi Scott, thanks a lot for your hint. On Thu, Dec 19, 2019 at 01:34:08PM -0500, Scott Talbert wrote: > > The 'file' class doesn't exist anymore in Python 3. You'll have to rewrite > myfile to not use it. OK, I simply went with ... @@ -608,6 +608,11 @@ Last-Update: Thu, 19 Dec 2019 10:43:09 +0

Re: kmer: Python2 removal in sid/bullseye

2019-12-19 Thread Scott Talbert
On Thu, 19 Dec 2019, Andreas Tille wrote: Traceback (most recent call last): File "/usr/bin/../lib/atac/bin/AtacDriver.py", line 18, in import MyFile File "/usr/lib/atac/lib/MyFile.py", line 6, in class myfile(file): NameError: name 'file' is not defined PYTHONPATH=/usr/bin/../lib/atac

Re: kmer: Python2 removal in sid/bullseye

2019-12-19 Thread Andreas Tille
Control: tags -1 help Hi, I tried to convert kmer to Python3 in Git[1]. Unfortunately I'm stumbling upon an issue in the test suite: ... python3 /usr/bin/../lib/atac/bin/AtacDriver.py /tmp/atac-test.doxZJ4/results/work/LeprvsTuber.matches.extended Traceback (most recent call last): File "/u

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