Re: Test suite needs script built after dh_auto_test is run

2016-02-06 Thread Sean Whitton
Dear Barry, On Fri, Feb 05, 2016 at 02:17:51PM -0500, Barry Warsaw wrote: > If ocrmypdf supports Python's -m option, you could consider patching the test > suite to run `python -m ocrmydf` instead. Season to taste for python3 and or > both if you're using pybuild. > > [snip] > > As a last resor

Test suite needs script built after dh_auto_test is run

2016-02-04 Thread Sean Whitton
Hello, I'm packaging a Python application, ocrmypdf [1], that has a test suite run by py.test. Most of the tests fail because they try to call the /usr/bin/ocrmypdf script. This script doesn't exist until after debhelper has run setup.py, which generates it using its "entry points script" featur