Installation Instructions ========================= doctest2 is a normal distutils library. Installation involves using the provided setup.py file with the distribution. Most of the time, this means running:: python setup.py install --user In addition, doctest2 has several dependencies, some optional and some not. - `pygments `_ is required (used for tokenization/parsing) - `sphinx `_ is optional (used for the sphinx support) .. note:: Currently Sphinx support for 3.x is limited. You must download from the hg repository at bitbucket, and download jinja2 separately.