Re: [Pythonmac-SIG] distutils/swig - Loaded module does not contain symbol...

2005-04-03 Thread Larry Bugbee
A bug perhaps? Poking around some more I think I see now what was happening. distutils is not automagically copying the swig generated arith.py unless it is there from a previous build (residue). After deleting all residue so that it looks like a 1st time build If I attempt a build and inst

Re: [Pythonmac-SIG] distutils/swig - Loaded module does not contain symbol...

2005-04-03 Thread Bob Ippolito
On Apr 3, 2005, at 5:19 AM, Larry Bugbee wrote: On Apr 3, 2005, at 12:55 AM, Bob Ippolito wrote: On Apr 3, 2005, at 4:12 AM, Larry Bugbee wrote: I'm stuck. I'm trying to make a Python extension from some relatively simple code written in C. I created a setup.py and built the module. Upon impor

Re: [Pythonmac-SIG] distutils/swig - Loaded module does not contain symbol...

2005-04-03 Thread Larry Bugbee
Thanks Bob! ...that combined with arith.py not being copied to site-package. Which raises another question, ought not arith.py be copied and if so, a bug? Anyway, much appreciated. I'm off and running again. Thanks. Larry On Apr 3, 2005, at 12:55 AM, Bob Ippolito wrote: On Apr 3, 2005, at 4:

Re: [Pythonmac-SIG] distutils/swig - Loaded module does not contain symbol...

2005-04-03 Thread Bob Ippolito
On Apr 3, 2005, at 4:12 AM, Larry Bugbee wrote: I'm stuck. I'm trying to make a Python extension from some relatively simple code written in C. I created a setup.py and built the module. Upon importing, I keep getting an ImportError. I built and got the same error with both python 2.3 and 2.

[Pythonmac-SIG] distutils/swig - Loaded module does not contain symbol...

2005-04-03 Thread Larry Bugbee
I'm stuck. I'm trying to make a Python extension from some relatively simple code written in C. I created a setup.py and built the module. Upon importing, I keep getting an ImportError. I built and got the same error with both python 2.3 and 2.4.1. (I am running 10.3.8. swig is 1.3.24. g