Hi Robin,
Kevin Ollivier wrote:
Thanks, that did the trick!
Good.
I'm going through the demo, and if all goes well I'll see if I can
modify the installer to point to /System/Library
It should all be in the wxPython/distrib/mac/wxPythonOSX/build script,
and it shouldn't be too hard to make it conditional which python it uses
and which location it uses for site-packages, so it could still work the
way it currently does.
Great! I tested my build and everything went smoothly, the only glitch I noticed aside from visual ones (Panther requires different spacing/borders for controls... <sigh>) is that wxPopupControl seems to be freezing the interface after the calendar control pops up. I had to force quit. Are you seeing this on Jaguar? (Unless you've upgraded too, then are you seeing this on Panther? =) It's not a critical show-stopper or anything but I thought I'd mention it in case you had any thoughts.
Also, during the build process I came across one issue (so far) that I thought I should ask you about:
The wxPython binaries have debug info in them which increases their size quite a bit. I'm not specifying a debug flag and I didn't build wxWindows debug, so there is something else I need to do apparently. I know the debug info is gone from the latest OS X builds - did you do so by setting UNDEF_NDEBUG to 0 in setup.py? I know I could 'try it and see', but I figure double-checking to make sure I'm doing the right thing wouldn't hurt. =)
and post the new installer online. I could post directly to SF if you
want (though you would have to move it to the wxPython releases
page), or I can put it in a 'preview release' page on my site (as you
do with prototypes) and we can go from there.
Either way is fine with me.
After thinking about this, I'll probably put this on my own server first. It is probably safer to get some independent confirmation before posting it to SF.
Kevin Ollivier wrote:
Hi Robin,
One more question - what is the set of options you pass into /wxPython/distrib/mac/buildpkg.py?
As mentioned above you need to use wxPython/distrib/mac/wxPythonOSX/build, and it will then use buildpkg.py. You probably want to use command-line options something like "2.4.2.4-panther 2.3 use_cvs" You may also need to to tweak it a bit to fully specify which version of Python to use to make the build and so forth.
Yep, I think I've gotten this all worked out. =) Once I know for sure what I should do to remove the debug info from the binaries, I should be ready to post an installer for testing. Should happen tomorrow or Wednesday, depending on how long my homework takes.
BTW, Panther's support for Python is excellent - the complete Framework build is here, right down to PythonLauncher and the pythonw script! Why they had to go muck with tabs is beyond me though... The new tabs look very close to a wxPanel (rounded rect) with a series of buttons near the top. They look cool but they do break a number of uses of tabs, including the use of tabs to host a control. It doesn't look smooth. They're really only suitable for hosting dialogs/forms. Oh well... Nothing we can do now except adapt. ^_^;
Thanks,
Kevin
···
On Nov 3, 2003, at 5:14 PM, Robin Dunn wrote: