Open tarpas opened 9 years ago
Odd, when installed in editable form, I would have expected that coverage would still be usable as a module. That is kind of the point. I am not sure why it is not finding it (yet) at the site.py time. I think this is related to how pip manages the editable PYTHONPATH extensions.
Yeah,
this works in the scenerio I described: https://github.com/dougn/coverage_pth/compare/master...tarpas:563870fc9728281dc62eff24f468e1de828ec063
(naming the pth file az y0_coverage_pth.pth)
But it can't have coveragepy in install_requires ..
I'm not sure it's worth solving though.. see also: https://bitbucket.org/ned/coveragepy/issue/367/automating-the-subprocess-measurement
On Fri, Apr 24, 2015 at 10:48 PM, Doug Napoleone notifications@github.com wrote:
Odd, when installed in editable form, I would have expected that coverage would still be usable as a module. That is kind of the point. I am not sure why it is not finding it (yet) at the site.py time. I think this is related to how pip manages the editable PYTHONPATH extensions.
— Reply to this email directly or view it on GitHub https://github.com/dougn/coverage_pth/issues/1#issuecomment-96060992.
Hi and thanks for a nice solution!
Here are the steps to reproduce a problem which might be quite common: