Re: [Pythonmac-SIG] py2app is building semi-standalone package only.

2006-03-22 Thread Read Roberts
On 3/22/06 9:29 AM, "Christopher Barker" <[EMAIL PROTECTED]> wrote: > Read, > > Thanks for posting a summary, it's nice to have this in the archives. > > A few notes: > > Read Roberts wrote: >> To get a separate installation of Python 2.3.x

Re: [Pythonmac-SIG] py2app is building semi-standalone package only.

2006-03-21 Thread Read Roberts
lic link pointing to the directory '/Library/Python/2.3". However, the Python2.3.5 installer creates a Python whose site-packages directory is a real directory, so it will never see the py2app package. I chose to fix this by deleting the real directory, and making a symbolic link with th

[Pythonmac-SIG] py2app is building semi-standalone package only.

2006-03-21 Thread Read Roberts
I can't figure out why py2app is building a only semi-standalone bundle app. Any advice appreciated, including where to look for why the decision is made to build semi-standalone. I conclude that the result is semi-standalone because: - it fails to run if I move the system python framework out of

Re: [Pythonmac-SIG] Building multiple command-line( ( CLI ) programs with py2app

2006-01-18 Thread Read Roberts
the matching directory in the first app. Of course, all the apps must then stay in a fixed relative position within a directory tree, but this is a common requirement. - Read Roberts On 1/17/06 11:11 AM, "Bob Ippolito" <[EMAIL PROTECTED]> wrote: > > On Jan 17, 2006, a

Re: [Pythonmac-SIG] Building multiple command-line( ( CLI ) programs with py2app

2006-01-16 Thread Read Roberts
I think I will go for the shell script option. That works very nicely, and I can provide a small Python script that will create a sym-link from the /Applications directory to the top level of my distribution dir tree. Thank you very much for help! Read Roberts Adobe SJ on Weds, home office 415

Re: [Pythonmac-SIG] Building multiple command-line( ( CLI ) programs with py2app

2006-01-16 Thread Read Roberts
s fixable, or if there is a way to run the bundle app from the command line and provide sys.argv arguments? If this is documented somewhere, just a pointer to the docs would be helpful. - Read Roberts On 1/14/06 1:33 PM, "Bob Ippolito" <[EMAIL PROTECTED]> wrote: > Given the

Re: [Pythonmac-SIG] Building multiple command-line( ( CLI ) programs with py2app

2006-01-14 Thread Read Roberts
desired Python file to to run. - Read Roberts On 1/14/06 4:32 AM, "Bob Ippolito" <[EMAIL PROTECTED]> wrote: > > On Jan 13, 2006, at 6:48 PM, Read Roberts wrote: > >> I would like to distribute about 30 Python command-line programs >> that use a >> sing

[Pythonmac-SIG] Building multiple command-line( ( CLI ) programs with py2app

2006-01-13 Thread Read Roberts
ach name I supplied in the Info.plist file, and edit each so that it starts a different CLI program. Obviously, for production, I would modify the py2app code to do this. Any better ideas? Read Roberts Adobe SJ on Weds, home office 415-642-5642 other days ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] Why does all threads block when doing I/O to unreachable network device on Mac OSX?

2005-02-03 Thread Read Roberts
In writing a replacement for tkDialog.askdirname() (needed because this is not Kanji -capable on Windows), I needed to work around a problem where os.listdir() will block indefinitely when a volume is not reachable. Looking for a cross-platform solution, I tried doing the os.lsitdir() within a

Re: [Pythonmac-SIG] How do you find the app that matches a creator type

2005-01-31 Thread Read Roberts
beHelpPath = \ adobeHelpURL.CFURLCopyFileSystemPath(kCFURLPOSIXPathStyle).toPython() except MacOS.Error : adobeHelpPath = None adobeHelpPath is now a Unicode string, and needs to be encoded as 'utf-8' to work with some file operatons. At 7:50 AM -0500 1/31/05, Bob Ippolito wrote: On Jan 31, 2005, a

[Pythonmac-SIG] How do you find the app that matches a creator type

2005-01-31 Thread Read Roberts
Now that mcfs.py is deprecated, what is an alternative for the now unsupported FindApplication? ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Help in easy way to hide Tk console window

2005-01-07 Thread Read Roberts
;, but it is put up when I run the script as a bundle app made by 'bundelbuilder.py". Hence I needed to day: from Tkinter import all root=Tk() try: root.tk.call('console','hide') except TclError: pass At 10:50 AM -0800 1/7/05, Read Roberts wrote: D

Re: [Pythonmac-SIG] Help in easy way to hide Tk console window

2005-01-07 Thread Read Roberts
Daniel Steffen answered this from the tcl-mac group: import Tkinter root=Tkinter.Tk() root.tk.call('console','hide') or root.tk.call('after','idle','console','hide') At 10:03 PM -0800 1/6/05, Read Robe

[Pythonmac-SIG] Help in easy way to hide Tk console window

2005-01-06 Thread Read Roberts
I succeeded in fixing a problem with displaying Kanji in my Tkinter-based app under Mac OSX 10.2.8. by building Tcl/Tk 8.4.9. with the patch: http://sourceforge.net/tracker/index.php?func=detail&aid=638966&group_id=12997&atid=312997 Now however, when I run by bundle app made with buildapp.py,

Re: [Pythonmac-SIG] Problem with tkaqua Tkinter and some Kanji unicode values.

2004-12-13 Thread Read Roberts
is, and it may be folded into the main branch soon. For description of the patch see "[ 638966 ] Font rendering on MacOSX with ATSU": http://sourceforge.net/tracker/index.php?func=detail&aid=638966&group_id=12997&atid=312997 On 17-nov-04, at 23:13, Read Roberts wrote: Than