Hi all (but mostly Bob)

I'm having trouble with bdist_mpkg and the matplotlib data dir. In 
setup.py, data_files is defined as:

[('share/matplotlib', ['fonts/afm/cmex10.afm', 'fonts/afm/cmmi10.afm', 
'fonts/afm/cmr10.afm', 'fonts/afm/cmsy10.afm', 'fonts/afm/cmtt10.afm', 
'fonts/afm/pagd8a.afm', 'fonts/afm/pagdo8a.afm',
...

(there are lots more, but you get the idea).

I guess this means that the files listed should all go into 
"share/matplotlib"

If I install with "setup.py install" they end up in:

/Library/Frameworks/Python.framework/Versions/2.4/share/matplotlib

but when I use bdist_mpkg, they get put in:

/usr/local/share/share/matplotlib

Note the double "share".

As a result, matplotlib can't find them. I think it's looking in

/usr/local/share/matplotlib

without the double share.

so, two questions: why is it putting it in /usr/local at all? I'd prefer 
that python packages just stay in the python tree. However, that's a 
taste issue, I suppose. More importantly how can we get rid of the extra 
"share"?

-Chris










-- 
Christopher Barker, Ph.D.
Oceanographer
                                                
NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[EMAIL PROTECTED]
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to