[Distutils] Binary Wheels and "universal" builds on OS-X

Chris Barker - NOAA Federal chris.barker at noaa.gov
Tue Jun 4 23:53:44 CEST 2013


On Tue, Jun 4, 2013 at 9:55 AM, Ronald Oussoren <ronaldoussoren at mac.com> wrote:

>> $ otool -L python
>> python (architecture ppc):
>>       /Library/Frameworks/Python.framework/Versions/2.7/Python
>> (compatibility version 2.7.0, current version 2.7.0)
>>       /usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version 47.1.0)
>>       /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
>> version 88.3.10)
>> python (architecture i386):
>>       /Library/Frameworks/Python.framework/Versions/2.7/Python
>> (compatibility version 2.7.0, current version 2.7.0)
>>       /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
>> version 88.3.10)
>>
>> (compatibility version of libSystem???)
>>
>> But I imagine there is a cleaner way -- Ronald??
>
> The output of 'otool -l' lists (amongst others) the value of LC_VERSION_MIN_MACOSX which is the deployment target.

I don't see that on my machine -- is that "l", a lower-case "el'?

> Both can also be found using macholib ;-)

probably best not to add another dependency.

But I've lot track on why we'd need this -- presumably the wheel
builder would know what it built, and could supply the proper
meta-data, and that would be that.

-Chris





-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov


More information about the Distutils-SIG mailing list