[Pythonmac-SIG] py2app question

2010-12-30 Thread matg...@gmail.com
Hi Everyone, I've been playing around with py2app for the last few days, trying to assemble Deluge 1.3.1 (a rather large python/gtk project that links against the C++ project *libtorrent*) into an .app and I'm at the point now where I should probably ve

Re: [Pythonmac-SIG] py2app question -- resources?

2006-09-26 Thread Bob Ippolito
On 9/26/06, Stephen Waterbury <[EMAIL PROTECTED]> wrote: > My app reads some of its core structures from a set of > RDF files. I have been keeping the RDF files in a directory > within the distribution, but it would be okay to have them in > my app's home directory, say ~/.my_app, when the package

[Pythonmac-SIG] py2app question -- resources?

2006-09-26 Thread Stephen Waterbury
My app reads some of its core structures from a set of RDF files. I have been keeping the RDF files in a directory within the distribution, but it would be okay to have them in my app's home directory, say ~/.my_app, when the package is installed or when the user starts it up (the latter probably

Re: [Pythonmac-SIG] py2app question: Resources/Python -> Resources/lib/python2.4

2006-09-11 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, "Bob Ippolito" <[EMAIL PROTECTED]> wrote: > On 9/8/06, Russell E. Owen <[EMAIL PROTECTED]> wrote: > > I was using an older version of py2app to distribute an application. > > This placed the python library code in TUI.app/Contents/Resources/Python/ > > > > I just u

Re: [Pythonmac-SIG] py2app question: Resources/Python -> Resources/lib/python2.4

2006-09-08 Thread Bob Ippolito
On 9/8/06, Russell E. Owen <[EMAIL PROTECTED]> wrote: > I was using an older version of py2app to distribute an application. > This placed the python library code in TUI.app/Contents/Resources/Python/ > > I just upgraded to py2app 0.3.5 and now I find the same stuff is being > put in TUI.app/Conten

[Pythonmac-SIG] py2app question: Resources/Python -> Resources/lib/python2.4

2006-09-08 Thread Russell E. Owen
I was using an older version of py2app to distribute an application. This placed the python library code in TUI.app/Contents/Resources/Python/ I just upgraded to py2app 0.3.5 and now I find the same stuff is being put in TUI.app/Contents/Resources/lib/python2.4/ This change breaks my code becaus

Re: [Pythonmac-SIG] py2app question: path to included python

2006-06-09 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, Jonathan <[EMAIL PROTECTED]> wrote: > https://patrickkidd.com has wrappers for several audio libraries. The info there is sparse, but none of these seems to be cross-platform. I need a sound player that works on unix, Mac and Windows. snack does the job, but th

Re: [Pythonmac-SIG] py2app question: path to included python

2006-06-07 Thread Jonathan
https://patrickkidd.com has wrappers for several audio libraries.Cheers, Jonathan Saggaujonathansaggau.comThis amusement engaged me so much that [friends] were obliged to force me from it; and thus it is with every inclination I give into, it continues to augment, till at length it becomes so power

Re: [Pythonmac-SIG] py2app question: path to included python

2006-06-07 Thread Russell E Owen
At 9:28 PM +0200 2006-06-07, Ronald Oussoren wrote: >On 7-jun-2006, at 18:31, Russell E. Owen wrote: > >> >>py2app is significantly smarter than py2exe about finding the necessary >>files. The only hassles on Mac are: >>- the need to copy the data files (not a big deal, especially, >>apparently, wi

Re: [Pythonmac-SIG] py2app question: path to included python

2006-06-07 Thread Ronald Oussoren
On 7-jun-2006, at 21:54, Russell E Owen wrote: > At 9:28 PM +0200 2006-06-07, Ronald Oussoren wrote: >> On 7-jun-2006, at 18:31, Russell E. Owen wrote: >> >>> >>> py2app is significantly smarter than py2exe about finding the >>> necessary >>> files. The only hassles on Mac are: >>> - the need t

Re: [Pythonmac-SIG] py2app question: path to included python

2006-06-07 Thread Russell E Owen
At 9:26 PM +0200 2006-06-07, Ronald Oussoren wrote: >On 7-jun-2006, at 18:24, Russell E. Owen wrote: > >> >>>... >>>What shortcut links? Py2app special-cases the python framework because we >>>know how it is structured and know what parts must be copied into the >>>application to get a working bund

Re: [Pythonmac-SIG] py2app question: path to included python

2006-06-07 Thread Ronald Oussoren
On 7-jun-2006, at 18:31, Russell E. Owen wrote: > > py2app is significantly smarter than py2exe about finding the > necessary > files. The only hassles on Mac are: > - the need to copy the data files (not a big deal, especially, > apparently, with newer matplotlibs that use smarter paths) > -

Re: [Pythonmac-SIG] py2app question: path to included python

2006-06-07 Thread Ronald Oussoren
On 7-jun-2006, at 18:24, Russell E. Owen wrote: > >> ... >> What shortcut links? Py2app special-cases the python framework >> because we >> know how it is structured and know what parts must be copied into the >> application to get a working bundle. > > For Tcl/Tk, one may put extension librar

Re: [Pythonmac-SIG] py2app question: path to included python

2006-06-07 Thread Christopher Barker
Russell E. Owen wrote: > Although the last path is very convenient, by then matplotlib has looked > in all sorts of places I don't want it to look -- Is there no way to tell matplotlib where to look? There should be, for just this reason. Personally, I'm not sure the matplotlibrc file is such

Re: [Pythonmac-SIG] py2app question: path to included python

2006-06-07 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, Christopher Barker <[EMAIL PROTECTED]> wrote: > Russell E. Owen wrote: > > When using py2app to create an application, is there a simple way to get > > the path to the copy of python that is/will be bundled into the > > application? > > > > (I need this to copy

Re: [Pythonmac-SIG] py2app question: path to included python

2006-06-07 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, Ronald Oussoren <[EMAIL PROTECTED]> wrote: > > On Wednesday, June 07, 2006, at 11:07AM, Russell E Owen > <[EMAIL PROTECTED]> wrote: > > >At 5:06 PM -0700 2006-06-05, Bob Ippolito wrote: > >>On Jun 5, 2006, at 4:56 PM, Russell E. Owen wrote: > >> > >>>When using

Re: [Pythonmac-SIG] py2app question: path to included python

2006-06-07 Thread Ronald Oussoren
On Wednesday, June 07, 2006, at 11:07AM, Russell E Owen <[EMAIL PROTECTED]> wrote: >At 5:06 PM -0700 2006-06-05, Bob Ippolito wrote: >>On Jun 5, 2006, at 4:56 PM, Russell E. Owen wrote: >> >>>When using py2app to create an application, is there a simple way to get >>>the path to the copy of pyt

Re: [Pythonmac-SIG] py2app question: path to included python

2006-06-07 Thread Russell E Owen
At 5:06 PM -0700 2006-06-05, Bob Ippolito wrote: >On Jun 5, 2006, at 4:56 PM, Russell E. Owen wrote: > >>When using py2app to create an application, is there a simple way to get >>the path to the copy of python that is/will be bundled into the >>application? >> >>(I need this to copy in some matplo

Re: [Pythonmac-SIG] py2app question: path to included python

2006-06-06 Thread David M. Cooke
On Mon, 05 Jun 2006 16:56:41 -0700 "Russell E. Owen" <[EMAIL PROTECTED]> wrote: > When using py2app to create an application, is there a simple way to > get the path to the copy of python that is/will be bundled into the > application? > > (I need this to copy in some matploblit data files) > S

Re: [Pythonmac-SIG] py2app question: path to included python

2006-06-06 Thread Bob Ippolito
On Jun 6, 2006, at 9:13 AM, Russell E Owen wrote: > At 5:06 PM -0700 2006-06-05, Bob Ippolito wrote: >> On Jun 5, 2006, at 4:56 PM, Russell E. Owen wrote: >> >>> When using py2app to create an application, is there a simple way >>> to get >>> the path to the copy of python that is/will be bundl

Re: [Pythonmac-SIG] py2app question: path to included python

2006-06-06 Thread Christopher Barker
Russell E. Owen wrote: > When using py2app to create an application, is there a simple way to get > the path to the copy of python that is/will be bundled into the > application? > > (I need this to copy in some matploblit data files) I'm pretty sure there is a standard place in an App bundle

Re: [Pythonmac-SIG] py2app question: path to included python

2006-06-05 Thread Bob Ippolito
On Jun 5, 2006, at 4:56 PM, Russell E. Owen wrote: > When using py2app to create an application, is there a simple way > to get > the path to the copy of python that is/will be bundled into the > application? > > (I need this to copy in some matploblit data files) > So far I'm generating it man

[Pythonmac-SIG] py2app question: path to included python

2006-06-05 Thread Russell E. Owen
When using py2app to create an application, is there a simple way to get the path to the copy of python that is/will be bundled into the application? (I need this to copy in some matploblit data files) So far I'm generating it manually using some assumptions. it works but if there's a safer/ea

[Pythonmac-SIG] py2app question

2006-03-16 Thread Stewart Midwinter
I have an application I'd like to have located on a USB stick, and be able to run in a self-contained manner on any PC it's connected to, whether running OS X or Windows. Can I use py2app to help create this stand-alone distribution? Or, could I count on Python always being installed on any OS X

Re: [Pythonmac-SIG] Py2app Question...

2005-08-09 Thread Bob Ippolito
On Aug 9, 2005, at 5:46 AM, Schollnick, Benjamin wrote: > Bob, > > I just upgraded my development machine to Tiger... And something > weird is happening... > > The application is working fine from the command line, using > pythonw But if I py2app it > > I am using the Stock v

Re: [Pythonmac-SIG] Py2app Question...

2005-08-09 Thread Schollnick, Benjamin
named wxPython.wx See the Console for a detailed traceback. wxPython appears to be working fine And so is pythoncard At least from the command line So I am not positive where to start looking Any suggestions? - Ben > -Original Message- > From: Bob Ippol

Re: [Pythonmac-SIG] Py2app Question...

2005-08-05 Thread Bob Ippolito
On Aug 5, 2005, at 3:29 AM, Schollnick, Benjamin wrote: > Folks, > > I just started using py2app So this is probably due to operator > error... > But I'm quite surprised that the actual application's .py file is > stored > in the > py2app bundle. I expected the PYC file to be used. > > Wh

[Pythonmac-SIG] Py2app Question...

2005-08-05 Thread Schollnick, Benjamin
Folks, I just started using py2app So this is probably due to operator error... But I'm quite surprised that the actual application's .py file is stored in the py2app bundle. I expected the PYC file to be used. While it's not a "huge" concern, I don't like the idea of anyone with a text edi

Re: [Pythonmac-SIG] py2app question

2005-05-02 Thread Bob Ippolito
On Apr 29, 2005, at 5:51 PM, Bob Ippolito wrote: > > On Apr 29, 2005, at 5:09 PM, Serge Rey wrote: > > >> On Fri, Apr 29, 2005 at 04:36:15PM -0400, Bob Ippolito wrote: >> >> >>> >>> On Apr 29, 2005, at 4:33 PM, Serge Rey wrote: >>> >>> >>> i'm trying to build a tkinter app using py2app and t

Re: [Pythonmac-SIG] py2app question

2005-05-02 Thread konrad . hinsen
On May 2, 2005, at 14:47, Bob Ippolito wrote: > This is what the executable stub is for, it hasn't changed much since > it was called PyMacApp: > http://mail.python.org/pipermail/pythonmac-sig/2004-March/010475.html Ah, thanks This would make a nice addition to the py2app documentation! Ko

Re: [Pythonmac-SIG] py2app question

2005-05-02 Thread Bob Ippolito
On May 2, 2005, at 6:34 AM, [EMAIL PROTECTED] wrote: > On Apr 29, 2005, at 22:36, Bob Ippolito wrote: > > >> Sounds like you did something really weird. The executable shouldn't >> be named starsgui.app?! You're going to have to post more about what >> you're doing (i.e. at >> >> > Just out of

Re: [Pythonmac-SIG] py2app question

2005-05-02 Thread konrad . hinsen
On Apr 29, 2005, at 22:36, Bob Ippolito wrote: > Sounds like you did something really weird. The executable shouldn't > be named starsgui.app?! You're going to have to post more about what > you're doing (i.e. at > Just out of curiosity: what is the function of this executable that py2app cre

Re: [Pythonmac-SIG] py2app question

2005-04-29 Thread Bob Ippolito
On Apr 29, 2005, at 5:09 PM, Serge Rey wrote: On Fri, Apr 29, 2005 at 04:36:15PM -0400, Bob Ippolito wrote: On Apr 29, 2005, at 4:33 PM, Serge Rey wrote: i'm trying to build a tkinter app using py2app and think i'm almost there but have hit a bit of a bump. the app starts but then immediately clos

Re: [Pythonmac-SIG] py2app question

2005-04-29 Thread Serge Rey
On Fri, Apr 29, 2005 at 04:36:15PM -0400, Bob Ippolito wrote: > > On Apr 29, 2005, at 4:33 PM, Serge Rey wrote: > > >i'm trying to build a tkinter app using py2app and think i'm almost > >there but have hit a bit of a bump. > > > >the app starts but then immediately closes if i start it either of

Re: [Pythonmac-SIG] py2app question

2005-04-29 Thread Bob Ippolito
On Apr 29, 2005, at 4:33 PM, Serge Rey wrote: i'm trying to build a tkinter app using py2app and think i'm almost there but have hit a bit of a bump. the app starts but then immediately closes if i start it either of the following two ways: a. clicking on the starsgui.app icon in finder b.

[Pythonmac-SIG] py2app question

2005-04-29 Thread Serge Rey
i'm trying to build a tkinter app using py2app and think i'm almost there but have hit a bit of a bump. the app starts but then immediately closes if i start it either of the following two ways: a. clicking on the starsgui.app icon in finder b. open starsgui.app (from a shell) h