[Pythonmac-SIG] Solution to some SWIG Install problems on Mac OS X

Rob Managan managan at llnl.gov
Tue Dec 13 19:12:45 CET 2005


At 12:41 PM -0500 12/13/05, Louis Pecora wrote:
>Christopher Barker wrote:
>
>>Hi Lou,
>>
>>I'm glad you got this working. Thanks for posting the resolution to your
>>problems, it's good to have this stuff archived. If time permits, I hope top
>>do some SWIGing myself, so perhaps we can help each other out.
>> 
>>
>Sounds good to me.  I have mostly made the decision to do future
>projects in Python with the usual profiling and C module extending,
>hence my need for speed.  I settled on SWIG (at least for now) because
>it seems established and solid and not too complex for me (I am not a
>comupter guru).  I did get a simple example to work so I am on my way. 
>I will be diving into this more in the future.
>
>For graphics, I have chosen wxPython.  I know there is matplotlib, but
>using it interactively baffled me (although several nice people sent me
>examples).  I may include it in my toolbox in the future.  For now
>wxPython also also offers event control.  I have yet to learn that and I
>still mostly do print  readline kind of I/0 and menus.  I keep it
>simple, but occasionally GUI stuff is useful.

While I have not tried WxPython I have built C modules for python 
using SWIG and python's distutils. That trades the headaches of 
makefiles for writing a setup.py file. I can give an example and they 
really are not that bad once you have done it once!



-- 
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
Rob Managan               email managan at llnl.gov
LLNL                      phone: 925-423-0903
P.O. Box 808, L-095       FAX:   925-422-3389
Livermore, CA  94551-0808



More information about the Pythonmac-SIG mailing list