I generally agree; my "fix" is certainly only a hack.
I just sent John privately a slightly less obnoxious
variant that looks at distutils.sysconfig.PREFIX
instead of looking at sys.path.
On Apr 21, 2004, at 1:58 PM, Andrew Straw wrote:
> Dear Daishi,
> I appreciate that you're trying to make life easier for Fink users, but
> I don't thing the Right Thing on an OS X platform involves
> automatically determining if a user has Fink installed and then using
> it. Fink is, to some degree, a different platform than stock OS X, and
> even if one has Fink installed, it doesn't mean that one wants to build
> one's Python extensions against it. (Even if one has a subdirectory of
> /sw in sys.path.)
> I would propose one or both of these solutions: 1) a non-automatic
> "use_fink" flag in the setup(ext) file and/or as a command line switch.
> 2) building (and maintaining!) a python-matplotlib Fink package.
> On Apr 21, 2004, at 12:12 PM, Daishi Harada wrote:
>> re: nav toolbar
>> Works for me with my fink build of the latest CVS matplotlib.
>> On the other hand, I'm still having problems building with fink
>> out of the box. I'm attaching my latest setupext.py. It includes
>> a hack to distinguish between vanilla darwin vs finked.
>> Finally, I've noticed that under WX the GUI thread doesn't
>> terminate when the close button is pressed.
>> On Apr 20, 2004, at 7:11 PM, John Hunter wrote:
>>> On my OS X machine, the navigation toolbar is not showing up in
>>> backend_wx, though the other widgets (eg axes selector, status bar)
>>> seem to work fine. If anyone has any ideas, please let me know.
>>> This SF.Net email is sponsored by: IBM Linux Tutorials
>>> Free Linux tutorial presented by Daniel Robbins, President and CEO of
>>> GenToo technologies. Learn everything from fundamentals to system
>>> Matplotlib-devel mailing list