From: <jd...@us...> - 2009-06-08 20:49:38
|
Revision: 7204 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7204&view=rev Author: jdh2358 Date: 2009-06-08 20:49:29 +0000 (Mon, 08 Jun 2009) Log Message: ----------- applied Goekhan's installation FAQ patch Modified Paths: -------------- trunk/matplotlib/doc/faq/installing_faq.rst trunk/matplotlib/lib/matplotlib/cbook.py Modified: trunk/matplotlib/doc/faq/installing_faq.rst =================================================================== --- trunk/matplotlib/doc/faq/installing_faq.rst 2009-06-08 16:28:21 UTC (rev 7203) +++ trunk/matplotlib/doc/faq/installing_faq.rst 2009-06-08 20:49:29 UTC (rev 7204) @@ -106,6 +106,19 @@ > cd matplotlib > python setup.py install +If you want to be able to follow the development branch as it changes just replace +the last step with (Make sure you have **setuptools** installed):: + + > python setupegg.py develop + +This creates links in the right places and installs the command line script to the appropriate places. +Then, if you want to update your **matplotlib** at any time, just do:: + + > svn update + +When you run `svn update`, if the output shows that only Python files have been updated, you are all set. +If C files have changed, you need to run the `python setupegg develop` command again to compile them. + There is more information on :ref:`using Subversion <using-svn>` in the developer docs. Modified: trunk/matplotlib/lib/matplotlib/cbook.py =================================================================== --- trunk/matplotlib/lib/matplotlib/cbook.py 2009-06-08 16:28:21 UTC (rev 7203) +++ trunk/matplotlib/lib/matplotlib/cbook.py 2009-06-08 20:49:29 UTC (rev 7204) @@ -254,6 +254,10 @@ self.__dict__.update(kwds) + def __repr__(self): + keys = self.__dict__.keys() + return 'Bunch(%s)'%', '.join(['%s=%s'%(k,self.__dict__[k]) for k in keys]) + def unique(x): 'Return a list of unique elements of *x*' return dict([ (val, 1) for val in x]).keys() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |