Re: [matplotlib-devel] matplotlib 1.0.1rc available for testing, building

2011-01-06 Thread Friedrich Romstedt
2011/1/4 Russell E. Owen : > I'm not sure what to do about 64-bit Python 2.7. It does not even > support Mac OS X 10.5 due to tcl/tk issues that I think were resolved > too late for python 2.7.1. In my opinion a matplotlib built against > ActiveState's Python 2.7 (which is 64-bit and supports 10.5

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-06 Thread Benjamin Root
On Wed, Jan 5, 2011 at 10:42 PM, Sandro Tosi wrote: > On Thu, Jan 6, 2011 at 02:31, John Hunter wrote: > > mpl1> grep rc_file lib/matplotlib/sphinxext/plot_directive.py > > > > Surely I have it right now! > > Indeed, and it works fine!!! the only thing to notice is that > examples.directory mus

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-06 Thread John Hunter
On Thu, Jan 6, 2011 at 10:58 AM, Benjamin Root wrote: > I thought that problem was already addressed in a previous patch?  John, > could this be another "gremlin"?  Or did I mis-understand the whole issue > absolute path problem? My understanding is that because sphinx switches the current worki

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-06 Thread Benjamin Root
On Thu, Jan 6, 2011 at 11:15 AM, John Hunter wrote: > On Thu, Jan 6, 2011 at 10:58 AM, Benjamin Root wrote: > > > I thought that problem was already addressed in a previous patch? John, > > could this be another "gremlin"? Or did I mis-understand the whole issue > > absolute path problem? > >

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-06 Thread John Hunter
On Thu, Jan 6, 2011 at 11:36 AM, Benjamin Root wrote: > On Thu, Jan 6, 2011 at 11:15 AM, John Hunter wrote: >> >> On Thu, Jan 6, 2011 at 10:58 AM, Benjamin Root wrote: >> >> > I thought that problem was already addressed in a previous patch?  John, >> > could this be another "gremlin"?  Or did I

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-06 Thread Benjamin Root
On Thu, Jan 6, 2011 at 11:50 AM, John Hunter wrote: > On Thu, Jan 6, 2011 at 11:36 AM, Benjamin Root wrote: > > On Thu, Jan 6, 2011 at 11:15 AM, John Hunter wrote: > >> > >> On Thu, Jan 6, 2011 at 10:58 AM, Benjamin Root wrote: > >> > >> > I thought that problem was already addressed in a prev

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-06 Thread John Hunter
On Thu, Jan 6, 2011 at 12:15 PM, Benjamin Root wrote: > A comment on the patch.  Unless matplotlib_fname() is guaranteed to return > an absolute filename, then we need to use realpath() on _basedir so that the > final joined filename will also be absolute.  The reason for using > realpath() inste

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-06 Thread John Hunter
On Thu, Jan 6, 2011 at 12:22 PM, John Hunter wrote: > matplotlib_fname() always returns absolute path.  I have not used > realpath, but if you think there is a use for it here, feel free to > post an amended patch. There is an exception to this -- if MATPLOTLIBRC or MPLCONFIGDIR are relative pat

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-06 Thread Benjamin Root
On Thu, Jan 6, 2011 at 12:32 PM, John Hunter wrote: > On Thu, Jan 6, 2011 at 12:22 PM, John Hunter wrote: > > > matplotlib_fname() always returns absolute path. I have not used > > realpath, but if you think there is a use for it here, feel free to > > post an amended patch. > > There is an exc

Re: [matplotlib-devel] Building documentation and matplotlibrc

2011-01-06 Thread John Hunter
On Thu, Jan 6, 2011 at 1:24 PM, Benjamin Root wrote: > Ah, all the more reason to apply abspath() or realpath().  To decide which > to use, let's consider the case of someone (like a developer) having > multiple builds of matplotlib in separate directories, and uses a symlink to > point to whichev