Re: Compiled C modules are not found by test suite (Was: Help needed for python-biopython which splits up modules into two packages per Python version)
On 15.03.2014 00:15, Éric Araujo wrote:
> Hello,
>
> I got the code and the debian directory. I confirmed that extension
> modules are in the build directory, not alongside the Python modules, so
> they can’t be imported from tests.
>
> There are two ways to fix that: either make distutils build the
> extensions alongside the Python modules, or make the test import all
> code from the build directory. I’m surprised that this isn’t a common
> issue for PMPT.
>
a typical approach is to not test in dh_auto_test but to install and
then test from debian/tmp by setting PYTHONPATH
Reply to: