[Pythonmac-SIG] universal python framework?
bob at redivi.com
Fri Dec 9 22:00:10 CET 2005
On Dec 9, 2005, at 12:36 PM, Jack Jansen wrote:
> On 9-dec-2005, at 18:56, William Kyngesburye wrote:
>> I'm starting to build universal binaries for a bunch of 'nix stuff,
>> some of which have python bindings/extensions. Has anyone looked at
>> a universal Python framework? I'd hate to have to step backwards to
>> Apple's included Python framework for that, but I may have to.
> There's a fairly recent Apple technote that discusses how to build
> universal binaries for products with a configure/make build
> procedure, such as Python, and I hope to look at that next week. But
> Ronald already discovered that distutils has problems with building
> universal extensions, so that may also turn out to be a problem
> (although he wants to build something more complicated, with the PPC
> binary being 10.3/10.4 compatible).
> And the "easy" way is to simply configure Python twice (Python builds
> nicely in a different directory than the source, I'm doing that all
> the time), once for ppc once for x86, and then using lipo to combine
That definitely has problems with extensions unless you also manage
to keep separate Python trees so that you can do that from
distutils.. different pyconfig.h and Makefile.
More information about the Pythonmac-SIG