Re: [Pythonmac-SIG] Zope py2app, some progress

2005-02-10 Thread Roger Binns
So don't bother building a 10.3 version. The 10.2 version should work fine. That is what was tried first - we don't want the extra work! I don't know what the issue was, but there was some incompatibility. Did you know py2app had a --strip option, which does strip -x -S? Nope. The way this wo

Re: [Pythonmac-SIG] Zope py2app, some progress

2005-02-10 Thread Bob Ippolito
On Feb 10, 2005, at 3:00 AM, Roger Binns wrote: So don't bother building a 10.3 version. The 10.2 version should work fine. That is what was tried first - we don't want the extra work! I don't know what the issue was, but there was some incompatibility. There shouldn't be. If there is, it's pro

Re: [Pythonmac-SIG] Zope py2app, some progress

2005-02-10 Thread Bob Ippolito
On Feb 10, 2005, at 2:51 AM, Roger Binns wrote: Obviously not people familiar with http://developer.apple.com/ :) Actually Steven Palm who did most of the original got some changes I still don't understand into libusb to make it work correctly on Mac. There is deep voodoo involved since some of th

Re: [Pythonmac-SIG] Zope py2app, some progress

2005-02-10 Thread Roger Binns
Every option py2app takes is documented: python setup.py py2app --help I started at http://pythonmac.org/wiki/py2app It would probably be helpful to add the above output to that page. You're probably not setting the right plist keys or something for Apple's help. The documentation doesn't make it

Re: [Pythonmac-SIG] Zope py2app, some progress

2005-02-10 Thread Bob Ippolito
On Feb 10, 2005, at 3:26 AM, Roger Binns wrote: Every option py2app takes is documented: python setup.py py2app --help I started at http://pythonmac.org/wiki/py2app It would probably be helpful to add the above output to that page. Uh.. yeah, it would be useful to have some web documentation. I wi

Re: [Pythonmac-SIG] Zope py2app, some progress

2005-02-10 Thread Roger Binns
Probably because it doesn't have drivers for them. If there's no matching driver, it won't pull up a useful nub to stick on it. The right thing happens in the end. There is no need for drivers on some interfaces, and they must be used on others (eg ones that implement the USB modem protocol or t

Re: [Pythonmac-SIG] Zope py2app, some progress

2005-02-10 Thread Bob Ippolito
On Feb 10, 2005, at 3:57, Roger Binns wrote: Probably because it doesn't have drivers for them. If there's no matching driver, it won't pull up a useful nub to stick on it. The right thing happens in the end. There is no need for drivers on some interfaces, and they must be used on others (eg on

[Pythonmac-SIG] Discovering file type

2005-02-10 Thread Enrico Franchi
I need to write a function that gets a filepath and gives back what kind of file is that in a consistent way. I thought i could use my beloved old TYPE and CREATOR, then I realized that in MacOS X not every file has got them. So i can check both the extension and the HFSFileType. Still i need a

Re: [Pythonmac-SIG] Discovering file type

2005-02-10 Thread Ray Slakinski
I found a type script that mimics the file command in unix. It uses 'magic' to figure out the type -- where magic is a code in most files that identify what it is. So I would google for those pieces of info and your bound to come up with it. Mine is heavily hacked up for my purposes so mine

Re: [Pythonmac-SIG] Zope py2app, some progress

2005-02-10 Thread Charles Hartman
That's extremely helpful. I'd downloaded the setup script before and planned to study it -- now I'll go back to it. (Wish it did the py2app stuff, for self-pedagogical reasons -- but py2app does make things easier rather than harder.) And for me at least, the slide-show gives quite useful overv

RE: [Pythonmac-SIG] Discovering file type

2005-02-10 Thread Ramm, Henning
>I thought i could use my beloved old TYPE and CREATOR, then I realized >that in MacOS X not every file has got them. >So i can check both the extension and the HFSFileType. > >Still i need a consistent way to express the file type. I need >something that given an HFSFileType returns the 'most us

RE: [Pythonmac-SIG] Discovering file type

2005-02-10 Thread Just van Rossum
Ramm, Henning wrote: > 'WDBN' : 'Word Document', \ > 'XDOC' : 'XPress Document' \ > } (btw, you can leave out all those backslashes...) Just ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac

Re: [Pythonmac-SIG] Zope py2app, some progress

2005-02-10 Thread Bob Ippolito
On Feb 10, 2005, at 8:05, Charles Hartman wrote: On Feb 9, 2005, at 11:47 PM, Roger Binns wrote: I'm not sure whether to ask if you could explain "compile them into the executable" (I don't know how to do that; I have to give my app to Windows people, but actually (*knowing* anything about Window

Re: [Pythonmac-SIG] Discovering file type

2005-02-10 Thread Bob Ippolito
On Feb 10, 2005, at 6:19, Enrico Franchi wrote: I need to write a function that gets a filepath and gives back what kind of file is that in a consistent way. I thought i could use my beloved old TYPE and CREATOR, then I realized that in MacOS X not every file has got them. So i can check both th

Re: [Pythonmac-SIG] Fink, DarwinPorts vs py2app

2005-02-10 Thread Michael Maibaum
On Tue, Feb 08, 2005 at 09:57:05AM -0800, Chris Barker wrote: Bob Ippolito wrote: On 8-feb-05, at 15:51, Brendan Simons wrote: My question: can I use py2app to build a redistributable app that's statically linked to either package manager's libraries? Or do I have to install Fink/DarwinPorts on e

Re: [Pythonmac-SIG] Zope py2app, some progress

2005-02-10 Thread Bob Ippolito
On Feb 10, 2005, at 2:38 AM, Bob Ippolito wrote: On Feb 10, 2005, at 2:25 AM, Roger Binns wrote: Incidentally I did find a gross hack to work around the py2app bug of not handling the optimise option. Stripping out the doc strings saves over 3MB of compressed size, and aren't useful in the binary

Re: [Pythonmac-SIG] Fink, DarwinPorts vs py2app

2005-02-10 Thread Chris Barker
Michael Maibaum wrote: FWIW, DarwinPorts has 'aqua' variants of many packages, cool. I'll have to look into which ones, thought I'll start with a question: wxPython? > and if you want them for something that doesn't have one, either add the variant and send off the patch, or make a request. As

Re: [Pythonmac-SIG] Fink, DarwinPorts vs py2app

2005-02-10 Thread Michael Maibaum
On Thu, Feb 10, 2005 at 09:37:01AM -0800, Chris Barker wrote: Michael Maibaum wrote: FWIW, DarwinPorts has 'aqua' variants of many packages, cool. I'll have to look into which ones, thought I'll start with a question: wxPython? X11 - wxWidgets and wxWindows in dports build aqua by default, but py

Re: [Pythonmac-SIG] Fink, DarwinPorts vs py2app

2005-02-10 Thread Michael Hudson
Michael Maibaum <[EMAIL PROTECTED]> writes: > As for Python. As soon as there is a framework version of Python > that can be installed via a destroot for packaging, I'll add it to > DarwinPorts. Or if someone can figure out how to hack the current > version to do it... Is there a bug report for t

Re: [Pythonmac-SIG] Fink, DarwinPorts vs py2app

2005-02-10 Thread Bob Ippolito
On Feb 10, 2005, at 2:56 PM, Michael Hudson wrote: Michael Maibaum <[EMAIL PROTECTED]> writes: As for Python. As soon as there is a framework version of Python that can be installed via a destroot for packaging, I'll add it to DarwinPorts. Or if someone can figure out how to hack the current versio

[Pythonmac-SIG] MacPython 2.3.5 for 10.2 Release Candidate available

2005-02-10 Thread Jack Jansen
Folks, a MacPython 2.3.5 release for MacOSX 10.2 (also works on 10.3) is available for testing. Please download it from and send feedback (preferably to the mailing list) telling me whether it works. I'm quite convinced this is going to be the

Re: [Pythonmac-SIG] MacPython 2.3.5 for 10.2 Release Candidate available

2005-02-10 Thread Bob Ippolito
On Feb 10, 2005, at 5:03 PM, Jack Jansen wrote: Folks, a MacPython 2.3.5 release for MacOSX 10.2 (also works on 10.3) is available for testing. Please download it from and send feedback (preferably to the mailing list) telling me whether it wor

Re: [Pythonmac-SIG] MacPython 2.3.5 for 10.2 Release Candidate available

2005-02-10 Thread Bob Ippolito
On Feb 10, 2005, at 5:12 PM, Bob Ippolito wrote: On Feb 10, 2005, at 5:03 PM, Jack Jansen wrote: Folks, a MacPython 2.3.5 release for MacOSX 10.2 (also works on 10.3) is available for testing. Please download it from and send feedback (preferab

Re: [Pythonmac-SIG] Numeric 23.7 w/ vecLib (Apple's optimized implementation of BLAS)

2005-02-10 Thread Bob Ippolito
On Feb 10, 2005, at 1:27 AM, Bob Ippolito wrote: Here's a Numeric 23.7 for Mac OS X 10.3 (using the stock Python 2.3 interpreter), built with py2app 0.1.8 (svn trunk)'s bdist_mpkg command: http://undefined.org/python/Numeric-23.7-py2.3-macosx10.3.zip Numeric 23.7's setup.py *almost* gets vecLi

[Pythonmac-SIG] Main Python on Mac version?

2005-02-10 Thread Roger Binns
The standard Python on Mac appears to be the original 2.3.0 release. Is there any reason this never gets updated by Apple? There appear to be several other packages out there that are more recent, but it is never clear what they do. Are they replacements for the Apple python? Do they install alon

Re: [Pythonmac-SIG] Main Python on Mac version?

2005-02-10 Thread Bob Ippolito
On Feb 10, 2005, at 11:51 PM, Roger Binns wrote: The standard Python on Mac appears to be the original 2.3.0 release. The system one that shipped with Mac OS X 10.2 (2.2.0) is pretty much unusable, 10.3 does have the original 2.3.0 release. Is there any reason this never gets updated by Apple? A