From 67b068671f705f525d85df9bff6dfca11dc656ff Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Sat, 27 Jan 2018 22:35:07 +0100 Subject: [PATCH] Install extra text packages in doc hacking page Fix #552. --- docs/hacking.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/hacking.rst b/docs/hacking.rst index 1165552d..01a82ea5 100644 --- a/docs/hacking.rst +++ b/docs/hacking.rst @@ -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 don’t need to re-install it every time you make a change in the source code) -as well as `py.test `_ +as well as `pytest `_ and `Sphinx `_. 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