Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 55ea4ab

Browse files
committed
add build_dep instructions to installing docs and faq
svn path=/trunk/matplotlib/; revision=8751
1 parent 6197326 commit 55ea4ab

2 files changed

Lines changed: 26 additions & 2 deletions

File tree

doc/faq/installing_faq.rst

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,17 @@ and build and install as usual with::
106106
> cd matplotlib
107107
> python setup.py install
108108

109+
.. note::
110+
111+
If you are on debian/ubuntu, you can get all the dependencies
112+
required to build matplotlib with::
113+
114+
sudo apt-get build_dep python-matplotlib
115+
116+
This does not build matplotlib, but it does get the install the
117+
build dependencies, which will make building from svn easy.
118+
119+
109120
If you want to be able to follow the development branch as it changes just replace
110121
the last step with (Make sure you have **setuptools** installed)::
111122

@@ -116,8 +127,10 @@ Then, if you want to update your **matplotlib** at any time, just do::
116127

117128
> svn update
118129

119-
When you run `svn update`, if the output shows that only Python files have been updated, you are all set.
120-
If C files have changed, you need to run the `python setupegg develop` command again to compile them.
130+
131+
When you run `svn update`, if the output shows that only Python files
132+
have been updated, you are all set. If C files have changed, you need
133+
to run the `python setupegg develop` command again to compile them.
121134

122135
There is more information on :ref:`using Subversion <using-svn>` in
123136
the developer docs.

doc/users/installing.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,17 @@ dependencies with a package manager, you may need to install the
131131
development packages (look for a "-dev" postfix) in addition to the
132132
libraries themselves.
133133

134+
.. note::
135+
136+
If you are on debian/ubuntu, you can get all the dependencies
137+
required to build matplotlib with::
138+
139+
sudo apt-get build_dep python-matplotlib
140+
141+
This does not build matplotlib, but it does get the install the
142+
build dependencies, which will make building from svn easy.
143+
144+
134145
:term:`python` 2.4 (or later but not python3)
135146
matplotlib requires python 2.4 or later (`download <http://www.python.org/download/>`__)
136147

0 commit comments

Comments
 (0)