On Mon, Jun 9, 2008 at 3:30 PM, Christopher Barker <[EMAIL PROTECTED]>
wrote:

> 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,
> anyway.
>
>  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
> clear:
>
> Python version: 2.5 Universal from python.org
>
> $ python setupegg.py bdist_egg
>
> creates an egg called:
>
> matplotlib-0.91.1-py2.5-macosx-10.3-fat.egg
>
> which will install with:
>
> $ easy_install name_of_egg.egg
>
> if the name is changed to:
>
> matplotlib-0.91.1-py2.5.egg
>
> 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.
>
> Also:
> easy_install matplotlib
>
> will not find the binary on PyPI, but rather try to download and build the
> source.
>
> 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.

http://peak.telecommunity.com/DevCenter/PkgResources#platform-utilities

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.

- Charlie
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to