Cannot use coverage with jython · Issue #322 · nedbat/coveragepy (original) (raw)

Originally reported by Chris Bannan (Bitbucket: cmbannan, GitHub: cmbannan)


Using the windows installer, there is no coveragepy directory created.
Therefore python COVERAGEDIR cannot be used

But, using the bitbucket clone, that directory is created

To use coverage with python, one can run python -m coverage run sample.py
There is no equivalent for jython.

However, jython \coveragepy\__main__.py run sample.py does work
This seems like it is not what you intended.

Also, jython \coveragepy\__main__.py html fails. The error is attached.

My environment is