diff options
author | V. R <for_usenet@yahoo.com> | 2017-07-15 17:31:58 -0400 |
---|---|---|
committer | V. R <for_usenet@yahoo.com> | 2017-07-15 23:10:38 -0400 |
commit | b402c9eeb6f053a90e155d53e1939b39bba14377 (patch) | |
tree | d12570e0bdf9814b878bae833a9e971748e5a78c | |
parent | e0415f9f5df3172b446cdca357519b9ab0bd3a60 (diff) |
Clarify source installation instructions.
Making installation and build instructions more explicit, and linking to
already available instructions in another portion of the Matplotlib
documentation website.
Aimed at addressing "Alternative dev install instructions #7319":
https://github.com/matplotlib/matplotlib/issues/7319
-rw-r--r-- | doc/devel/contributing.rst | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/doc/devel/contributing.rst b/doc/devel/contributing.rst index 4e2178bdd..3d7bfb4bb 100644 --- a/doc/devel/contributing.rst +++ b/doc/devel/contributing.rst @@ -48,18 +48,28 @@ Thank you for your help in keeping bug reports complete, targeted and descriptiv Retrieving and installing the latest version of the code ======================================================== -When working on the Matplotlib source, setting up a `virtual -environment -<http://docs.python-guide.org/en/latest/dev/virtualenvs/>`_ or a -`conda environment <http://conda.pydata.org/docs/using/envs.html>`_ is -recommended. +When developing Matplotlib, sources must be downloaded, built, and installed into +a local environment on your machine. + +Follow the instructions detailed :ref:`here <install_from_source>` to set up your +environment to build Matplotlib from source. .. warning:: - If you already have a version of Matplotlib installed, use an - virtual environment or uninstall using the same method you used - to install it. Installing multiple versions of Matplotlib via different - methods into the same environment may not always work as expected. + When working on Matplotlib sources, having multiple versions installed by + different methods into the same environment may not always work as expected. + +To work on Matplotlib sources, it is strongly recommended to set up an alternative +development environment, using the something like `virtual environments in python +<http://docs.python-guide.org/en/latest/dev/virtualenvs/>`_, or a +`conda environment <http://conda.pydata.org/docs/using/envs.html>`_. + +If you choose to use an already existing environment, and not a clean virtual or +conda environment, uninstall the current version of Matplotlib in that enviroment +using the same method used to install it. + +If working on Matplotlib documentation only, the above steps are *not* absolutely +necessary. We use `Git <https://git-scm.com/>`_ for version control and `GitHub <https://github.com/>`_ for hosting our main repository. @@ -71,6 +81,7 @@ You can check out the latest sources with the command (see and navigate to the :file:`matplotlib` directory. + To make sure the tests run locally you must build against the correct version of freetype. To configure the build system to fetch and build it either export the env ``MPLLOCALFREETYPE`` as:: |