[Pythonmac-SIG] Building extensions on 10.4 that can be used on 10.3?

Ronald Oussoren ronaldoussoren at mac.com
Wed Jan 18 21:39:06 CET 2006


On 17-jan-2006, at 22:13, Russell E. Owen wrote:

> Are there any tips or tricks to building 3rd party python  
> extensions on
> MacOS X 10.4 in such a way that 10.3 users can use them?

Building them on 10.3 is the easiest way to get 10.3 compatible  
extensions.
You'll have to test them on 10.3 anyway, so you may as wel build them  
there.

In theory extension you build on 10.4 will work on 10.3 if you use  
weak-linking
for symbols that don't exist on 10.3 (or just don't use 10.4 specific  
API's).

BTW. You don't have to stay on 10.3, you just have to build all  
extensions
there. You can do all your development in 10.4, py2app will build a 10.3
compatible app bundle on 10.4 if all extensions and Python itself  
were build on
10.3.

Ronald


More information about the Pythonmac-SIG mailing list