File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,6 +106,19 @@ and build and install as usual with::
106106 > cd matplotlib
107107 > python setup.py install
108108
109+ If you want to be able to follow the development branch as it changes just replace
110+ the last step with (Make sure you have **setuptools ** installed)::
111+
112+ > python setupegg.py develop
113+
114+ This creates links in the right places and installs the command line script to the appropriate places.
115+ Then, if you want to update your **matplotlib ** at any time, just do::
116+
117+ > svn update
118+
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.
121+
109122There is more information on :ref: `using Subversion <using-svn >` in
110123the developer docs.
111124
Original file line number Diff line number Diff line change @@ -254,6 +254,10 @@ def __init__(self, **kwds):
254254 self .__dict__ .update (kwds )
255255
256256
257+ def __repr__ (self ):
258+ keys = self .__dict__ .keys ()
259+ return 'Bunch(%s)' % ', ' .join (['%s=%s' % (k ,self .__dict__ [k ]) for k in keys ])
260+
257261def unique (x ):
258262 'Return a list of unique elements of *x*'
259263 return dict ([ (val , 1 ) for val in x ]).keys ()
You can’t perform that action at this time.
0 commit comments