|Ned Batchelder : Blog | Code | Text | Site|
» Home : Code : coverage.py
Created 25 July 2010, last updated 12 December 2013
Coverage.py includes a C extension for speed. If you are installing from source, you may need to install the python-dev support files, for example with:
For Windows, kits are provided on the PyPI page for different versions of Python and different CPU architectures. These kits require that setuptools be installed as a pre-requisite, but otherwise are self-contained. They have the C extension pre-compiled so there’s no need to worry about compilers.
If all went well, you should be able to open a command prompt, and see coverage installed properly:
You can also invoke coverage as a module: