In article <[EMAIL PROTECTED]>, "Russell E. Owen" <[EMAIL PROTECTED]> wrote:
> I've been trying to build a proper matplotlib Mac binary with bdist_mpkg > (from the command line) and thought I finally had it until I realized > it was missing pytz. Any hints on how to get this included? > > FYI: in the resulting package there is a directory > matplotlib-0.87.7-py2.5.egg-info > In the files in that directory, pytz is listed in > SOURCES.txt > but not in > top_level.txt > and the pytz source is missing from the package. Sorry to follow up my own posting, but I found one way to do it: modify matplotlib's setup.py file to always install dateutil and pytz. It turns out normally only installs them if a version doesn't already exist. This points up a weakness in trying to package matplotlib: the naive installer will always overwrite dateutil and pytz. I suppose a script could be written that will only install them if not present, or if newer or...something. I'm not likely to bother. Perhaps this is a case for installing matplotlib using easy_install instead. However, compiling matplotlib takes a very long time on some machines (such as my G4 laptop). -- Russell _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig