Package: cov-core / 1.15.0-2


Package Version Patches format
cov-core 1.15.0-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
pth installation path.patch | (download) | 28 8 + 20 - 0 !
1 file changed, 8 insertions(+), 20 deletions(-)

 calculate the correct .pth path

 cov-core wants to install the file init_cov_core.pth so that cov_core_init
 will be imported and initialized automatically for subprocess coverage, if
 the environment variable COV_CORE_SOURCE is set (which e.g. nose does
 automatically).  However the upstream tries to install this file
 directly into /usr/lib/pythonX.Y/{site,dist}-packages, which clearly doesn't
 work when building the package.  This patch hard codes the .pth path for a
 location within the build directory.  dh_python{2,3} does the rest.