Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Documentated dependencies to the doc and remove unecessary dependencies. #7049
Conversation
mdboom
added the
needs_review
label
Sep 6, 2016
afvincent
added the
Documentation
label
Sep 6, 2016
|
Did you mean to add a |
|
@matthew-brett I don't think it'd hurt, if some people use this kind of tools. |
|
The pip requirements file format is obvious enough that you could refer to that for the dependency list - as in "see the doc-requirements.txt file for the dependencies to install". That way you don't have to keep two versions of the dependencies, one in the requirements file and another in the docs. Tom also suggested adapting the |
|
Sounds like a plan. |
|
Nelle - I did a PR to your branch with the requirements file. |
QuLogic
commented on an outdated diff
Sep 6, 2016
| @@ -52,6 +52,17 @@ | ||
| raise ImportError("No module named numpydoc - you need to install " | ||
| "numpydoc to build the documentation.") | ||
| +try: | ||
| + import colorspacious | ||
| +except ImportError: | ||
| + raise ImportError("No module named colorspacious - you need to install " | ||
| + "colorspacious to build the documentation") | ||
| + | ||
| +try: | ||
| + import mock |
QuLogic
Member
|
|
@matthew-brett isn't pillow missing from your doc-requirements.txt file? |
tacaswell
added this to the
2.0 (style change major release)
milestone
Sep 7, 2016
matthew-brett
and 1 other
commented on an outdated diff
Sep 7, 2016
| @@ -1,11 +1,45 @@ | ||
| maptlotlib documentation | ||
| ======================== | ||
| + | ||
| +Building the documentation | ||
| +-------------------------- | ||
| + | ||
| +A list of dependencies can be found in ../doc-requirements.txt. | ||
| + | ||
| +All of these dependencies can be installed through pip:: | ||
| + | ||
| + pip install sphinx numpydoc ipython mock colorspacious |
NelleV
Contributor
|
matthew-brett
and 1 other
commented on an outdated diff
Sep 7, 2016
| @@ -52,6 +52,19 @@ | ||
| raise ImportError("No module named numpydoc - you need to install " | ||
| "numpydoc to build the documentation.") | ||
| +try: | ||
| + import colorspacious | ||
| +except ImportError: | ||
| + raise ImportError("No module named colorspacious - you need to install " | ||
| + "colorspacious to build the documentation") | ||
| +try: | ||
| + from unittest.mock import MagicMock | ||
| +except: |
NelleV
Contributor
|
NelleV
and others
added some commits
Sep 6, 2016
NelleV
changed the title from
[WIP] Documentated dependencies to the doc and remove unecessary dependencies. to [MRG] Documentated dependencies to the doc and remove unecessary dependencies.
Sep 7, 2016
jenshnielsen
and 1 other
commented on an outdated diff
Sep 7, 2016
| + | ||
| +or conda:: | ||
| + | ||
| + conda install sphinx numpydoc ipython mock colorspacious pillow | ||
| + | ||
| +To build the HTML documentation, type ``python make.py html`` in this | ||
| +directory. The top file of the results will be ./build/html/index.html | ||
| + | ||
| +**Note that Sphinx uses the installed version of the package to build the | ||
| +documentation**: matplotlib must be installed *before* the docs can be | ||
| +generated. Even if that is the case, one of the files needed to do this, | ||
| +'../lib/matplotlib/mpl-data/matplotlibrc', is not version controlled, but | ||
| +created when matplotlib is built. This means that the documentation cannot be | ||
| +generated immediately after checking out the source code, even if matplotlib | ||
| +is installed on your system: you will have to run ``python setup.py build`` | ||
| +first. |
jenshnielsen
Owner
|
rougier
referenced
this pull request
Sep 7, 2016
Merged
FIX: Removed financial demos that stalled because of yahoo requests #7057
|
@jenshnielsen Confirming there is no need to build mpl anymore. |
|
Great |
|
appveyor's failure seems unrelated. |
tacaswell
merged commit 2d1e51f
into matplotlib:master
Sep 8, 2016
tacaswell
removed the
needs_review
label
Sep 8, 2016
|
This does not backport cleanly to 2.x due to 2.x using the travis wheelhouse and installing nose from my fork (done a long time ago to fix a 3.6 compatibility issue). I do not have time to sort this out right now, will make an issue. |
NelleV
deleted the
unknown repository branch
Sep 8, 2016
tacaswell
added a commit
that referenced
this pull request
Sep 12, 2016
|
|
tacaswell |
05f8434
|
|
backported to v2.x as 05f8434 |
NelleV commentedSep 6, 2016
•
edited
Following discussion in #7040, I have documented the dependencies for building the documentation and removed the basemap example.