Install extra text packages in doc hacking page

Fix #552.
This commit is contained in:
Guillaume Ayoub 2018-01-27 22:35:07 +01:00
parent cd3e50fd33
commit 67b068671f
1 changed files with 3 additions and 3 deletions

View File

@ -12,13 +12,13 @@ install the `development version`_ of WeasyPrint:
cd WeasyPrint
virtualenv --system-site-packages env
. env/bin/activate
pip install pytest Sphinx -e .
pip install Sphinx -e .[test]
weasyprint --help
This will install WeasyPrint in “editable” mode
(which means that you dont need to re-install it
every time you make a change in the source code)
as well as `py.test <http://pytest.org/>`_
as well as `pytest <http://pytest.org/>`_
and `Sphinx <http://sphinx.pocoo.org/>`_.
Lastly, in order to pass unit tests, your system must have two particular fonts:
@ -43,7 +43,7 @@ The website version is updated automatically when we push to master on GitHub.
Code changes
------------
Use the ``py.test`` command from the ``WeasyPrint`` directory to run the
Use the ``pytest`` command from the ``WeasyPrint`` directory to run the
test suite.
Please report any bugs/feature requests and submit patches/pull requests