8000 DOC: instructions on installing matplotlib for dev by eyurtsev · Pull Request #3961 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

DOC: instructions on installing matplotlib for dev #3961

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/devel/gitwash/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ Contents:
git_intro
git_install
following_latest
git_development
setting_up_for_development
git_resources
patching
17 changes: 17 additions & 0 deletions doc/devel/gitwash/matplotlib_for_dev.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. _matplotlib-for-dev:

===================================================
Install for matplotlib source for development
===================================================

After obtaining a local copy of the matpotlib source code (:ref:`set-up-fork`),
navigate to the matplotlib directory and run the following in the shell:

::

python setup.py develop
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be changed to pip install -v -e .


This installs matplotlib for development (i.e., builds everything and places the
symbolic links back to the source code).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As noted in faq/installing_faq.rst this command has to be called everytime that the c files change


You may want to consider setting up a `virtual environment <http://docs.python-guide.org/en/latest/dev/virtualenvs/>`_.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _git-development:
.. _setting_up_for_development:

=====================
Git for development
Setting up for development
=====================

Contents:
Expand All @@ -11,5 +11,6 @@ Contents:

forking_hell
set_up_fork
matplotlib_for_dev
configure_git
development_workflow
0