[Pythonmac-SIG] [Matplotlib-users] What is the recommended way of Installing MPL 0.9.8 on Leopard?
cwmoad at gmail.com
Mon Jun 9 22:15:18 CEST 2008
On Mon, Jun 9, 2008 at 3:30 PM, Christopher Barker <Chris.Barker at noaa.gov>
> Charlie Moad wrote:
>> best way to move forward is to just post binaries for each
>> architecture and not have a universal build.
>> Please, Please, Please, NO!
>> This seems to be the only solution to make "easy_install matplotlib"
>> actually work.
> Well, I guess that question then is: how important is it for "easy_install
> matplotlib" to work. Is it so bad to have to download something? Anyway, I
> suppose there could be non-universal eggs for that, if there is still a
> universal egg that can be downloaded.
> I thought this was a rumor? A rumor that my G4 powerbook really hates.
> Well rumor or no, they could change their mind any day anyway. I'm pretty
> happy with my Dual G5 desktop too, but I'm not even running 10.5 yet,
> No. Communicating with the setuptools people makes more sense to me, but
>> I am not currently on the distutils list.
> nor am I, but maybe I'll post a message and see what we get. Just to be
> Python version: 2.5 Universal from python.org
> $ python setupegg.py bdist_egg
> creates an egg called:
> which will install with:
> $ easy_install name_of_egg.egg
> if the name is changed to:
> on both OS-X 10.5 and 10.4 (and 10.3.9?)
> However, if the full name is used (with -fat, etc), then easy_install tried
> to go download it from the net instead.
> easy_install matplotlib
> will not find the binary on PyPI, but rather try to download and build the
> Have I got that right?
> Have you tried putting the binary up on pyPI with some of these different
> names to see if it will find them?
I tried a variation on the SF download page and it doesn't help.
Here is the doc I found.
pkg_resources.get_build_platform() returns *macosx-10.3-i386 *on my iMac,
but *macosx-10.3-ppc *on my g4. This is what the file extensions are
depending on the machine I build on.
*NOTE* the "-fat" extension is not outputted from setuptools. I just
renamed it to that so people would know it is a fat binary.
I'm not a fan of renaming it to "matplotlib-0.91.1-py2.5.egg" since it
implies a platform-independent binary.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pythonmac-SIG