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.
I tried the first solution and did not see a difference in tests:
both times, 223 tests were run successfully. I’d like to reproduce the
errors you mention to be sure that any change I make is actually a fix.
Unfortunately, there is a long-standing bug in distutils where
extensions modules built alongside the Python modules are not found by
the install command. This means that you’d have to compile twice (once
in-place to run the tests, one to a build directory to install to
debian/tmp/etc.), or that you’d prefer the other fix.
Cheers
--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53238d8e.4070...@netwok.org