diff --git a/doc/devel/development_setup.rst b/doc/devel/development_setup.rst index 8625eaa60042..da1b7e22e8c2 100644 --- a/doc/devel/development_setup.rst +++ b/doc/devel/development_setup.rst @@ -164,6 +164,22 @@ true for ``*.py`` files. If you change the C-extension source (which might also happen if you change branches) you will have to re-run ``python -m pip install -ve .`` +Verify the Installation +======================= + +* Run the following command to make sure you have correctly installed matplotlib in editable mode. + The command should be run when the virtual environment is activated :: + + python -c "import matplotlib; print(matplotlib.__file__)" + + This command should return : ``\lib\matplotlib\__init__.py`` + +* We encourage you to run tests and build docs to verify that the code installed correctly and that the docs build are clean, + so that when you make code or document related changes you are aware of the existing issues beforehand. + + * Run test cases to verify installation :ref:`testing` + * Verify documentation build :ref:`documenting-matplotlib` + Install pre-commit hooks (optional) =================================== `pre-commit `_ hooks automatically check flake8 and