@@ -43,37 +43,42 @@ If you are still having trouble, see :ref:`reporting-problems`.
4343How do I cleanly rebuild and reinstall everything?
4444==================================================
4545
46- # TODO: include for binary installs
46+ 1. Delete the caches from your :ref: `.matplotlib configuration directory
47+ <locating-matplotlib-config-dir>`.
4748
48- Unfortunately::
49+ The next steps depend on your platform and installation method.
4950
50- python setup.py clean
51+ Easy Install
52+ ------------
5153
52- does not properly clean the build directory, and does nothing to the
53- install directory. To cleanly rebuild:
54+ 2. Run::
55+
56+ easy_install -m PackageName
57+
58+ 3. Delete any .egg files or directories from your `installation directory
59+ <locating-matplotlib-install> `.
5460
55- * delete the ``build `` directory in the source tree
56- * delete ``site-packages/matplotlib `` directory in the Python
57- installation. The location of ``site-packages `` is
58- platform-specific. You can find out where matplotlib is installed by doing::
5961
60- > python -c 'import matplotlib; print matplotlib.__file__'
62+ Windows installer
63+ -----------------
6164
62- and then making sure you remove the matplotlib directory ( and
63- any matplotlib*.egg files) you find there .
65+ 2. Use :menuselection: ` Start --> Control Panel ` to start the :program: ` Add and
66+ Remove Software ` utility .
6467
65- * you may also want to clear some of the cache data that
66- matplotlib stores in your ``.matplotlib `` directory. You can
67- find the location of this directory by doing::
68+ Source install
69+ --------------
6870
69- import matplotlib
70- print matplotlib.get_configdir()
71+ Unfortunately::
72+
73+ python setup.py clean
74+
75+ does not properly clean the build directory, and does nothing to the
76+ install directory. To cleanly rebuild:
7177
72- A typical location for the config directory is :file: `.matplotlib `, and the following
73- caches may need to be cleared after a major update::
78+ 2. Delete the ``build `` directory in the source tree
79+ 3. Delete any matplotlib directories or eggs from your `installation directory
80+ <locating-matplotlib-install> `
7481
75- rm -rf ~/.matplotlib/tex.cache
76- rm -rf ~/.matplotlib/fontManager.cache
7782
7883Backends
7984========
0 commit comments