-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
DOC: fill out dev docs #9378
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
DOC: fill out dev docs #9378
Changes from 1 commit
60e9feb
1bf4450
753bed2
df0cdd0
680f178
c856d0c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line c 10000 hange |
---|---|---|
|
@@ -8,6 +8,7 @@ Matplotlib's testing infrastructure depends on pytest_. The tests are in | |
:file:`lib/matplotlib/tests`, and customizations to the pytest testing | ||
infrastructure are in :mod:`matplotlib.testing`. | ||
|
||
.. _dependencies: http://matplotlib.org/users/installing.html#dependencies | ||
.. _pytest: http://doc.pytest.org/en/latest/ | ||
.. _mock: https://docs.python.org/3/library/unittest.mock.html> | ||
.. _Ghostscript: https://www.ghostscript.com/ | ||
|
@@ -20,6 +21,13 @@ infrastructure are in :mod:`matplotlib.testing`. | |
Requirements | ||
------------ | ||
|
||
We strongly recommend developing new features in a seperate virtualenv. | ||
|
||
Install all the matplotlib dependencies_, and install matplotlib into the | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "Matplotlib" should always be uppercase in the text. |
||
virtualenv with ``pip install -e matplotlib`` (but note the changes needed to | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, this isn't really my workflow. If you are developing, you need to pull down master from GitHub and There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See #9291 and use of |
||
``setup.cfg`` below) which will allow you to edit the code without | ||
reinstalling. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I still think this is repeating what's in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would just write "Install the latest version of Matplotlib as documented in http://matplotlib.org/devdocs/devel/contributing.html#retrieving-and-installing-the-latest-version-of-the-code. In particular, follow the instructions to use a local FreeType build." (fix the link, of course). And then remove the mention of localfreetype below. (We also print a warning when tests are done on a nonlocal freetype version so I think that's enough.) |
||
|
||
The following software is required to run the tests: | ||
|
||
- pytest_, version 3.0.0 or later | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be a Sphinx cross-references and not http://matplotlib.org/...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how do I do that to a particular anchor in the page, i.e. dependencies on the installing page?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'd need to add a tag before the heading, but fortunately, there's already one there:
install_requirements
. You can use that name in the cross-reference instead ofdependencies
.(This may be a bit difficult to find because
doc/users/installing.html
actually comes fromINSTALL.rst
in the top-level.)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this change is not needed any more?