|
From: <ds...@us...> - 2008-06-14 14:32:15
|
Revision: 5539
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5539&view=rev
Author: dsdale
Date: 2008-06-14 07:32:13 -0700 (Sat, 14 Jun 2008)
Log Message:
-----------
improvements to installation faq
Modified Paths:
--------------
trunk/matplotlib/doc/faq/installing_faq.rst
Modified: trunk/matplotlib/doc/faq/installing_faq.rst
===================================================================
--- trunk/matplotlib/doc/faq/installing_faq.rst 2008-06-14 14:10:27 UTC (rev 5538)
+++ trunk/matplotlib/doc/faq/installing_faq.rst 2008-06-14 14:32:13 UTC (rev 5539)
@@ -43,38 +43,43 @@
How do I cleanly rebuild and reinstall everything?
==================================================
-# TODO: include for binary installs
+1. Delete the caches from your :ref:`.matplotlib configuration directory
+<locating-matplotlib-config-dir>`.
-Unfortunately::
+The next steps depend on your platform and installation method.
- python setup.py clean
+Easy Install
+------------
-does not properly clean the build directory, and does nothing to the
-install directory. To cleanly rebuild:
+2. Run::
- * delete the ``build`` directory in the source tree
- * delete ``site-packages/matplotlib`` directory in the Python
- installation. The location of ``site-packages`` is
- platform-specific. You can find out where matplotlib is installed by doing::
+ easy_install -m PackageName
- > python -c 'import matplotlib; print matplotlib.__file__'
+3. Delete any .egg files or directories from your `installation directory
+ <locating-matplotlib-install>`.
- and then making sure you remove the matplotlib directory (and
- any matplotlib*.egg files) you find there.
- * you may also want to clear some of the cache data that
- matplotlib stores in your ``.matplotlib`` directory. You can
- find the location of this directory by doing::
+Windows installer
+-----------------
- import matplotlib
- print matplotlib.get_configdir()
+2. Use :menuselection:`Start --> Control Panel` to start the :program:`Add and
+Remove Software` utility.
- A typical location for the config directory is :file:`.matplotlib`, and the following
- caches may need to be cleared after a major update::
+Source install
+--------------
- rm -rf ~/.matplotlib/tex.cache
- rm -rf ~/.matplotlib/fontManager.cache
+Unfortunately::
+ python setup.py clean
+
+does not properly clean the build directory, and does nothing to the
+install directory. To cleanly rebuild:
+
+2. Delete the ``build`` directory in the source tree
+3. Delete any matplotlib directories or eggs from your `installation directory
+ <locating-matplotlib-install>`
+
+
Backends
========
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|