subprocess .pth problems on upgrade

Issue #223 resolved
eduardo schettino created an issue

the docs for subprocess measurement suggests you to create .pth file with the content:

import coverage; coverage.process_startup()

The problem is that after I uninstall coverage this brokens python. To fix this i did like this:

$ cat cov_multi.pth 
import cov_start; cov_start.cov_start();
$ cat
def cov_start():
        import coverage
    except ImportError:

I got this error while trying to update coverage. You mentions this .pth thing being a hack... Anyway, i guess would be nice to have this mentioned in docs.

Comments (1)

  1. Log in to comment