From: Tim A. <fra...@gm...> - 2012-11-06 13:25:44
|
Good to hear that it works now! On Tue, Nov 6, 2012 at 2:14 PM, John Thornton <bj...@gm...> wrote: > Tim, > > I just got my simple example to work by deleting the import gtk.glade... > > John > > > On 11/5/2012 8:56 AM, Tim Aerdts wrote: > > Hello John, > > That does seem correct yes. > > In this case the file sfc.sqlite goes in the 'data' folder aswell as in > the 'glade' folder. > What exactly is the application crashing on? Missing files? > > -Tim > > > On Mon, Nov 5, 2012 at 3:54 PM, John Thornton <bj...@gm...> wrote: > >> Tim, >> >> First I want to thank you for replying to my question. I have a small >> python glade sqlite application that I'm trying to turn into a windows exe >> http://gnipsel.com/shop/sfc/sfc.xhtml >> >> I found an example on the web I was trying to follow >> >> data_files=[ >> ('data', [ >> 'sfc.sqlite', >> ] >> ), >> ('glade',[ >> 'sfc.glade', >> ] >> ), >> ] >> >> I really didn't understand the data and glade part does the above look >> correct? >> >> The project builds but does not run. >> >> In the mean time I'll try a simple python glade with just main window and >> an exit button to see if I can sort out the syntax. >> >> Thanks >> John >> >> >> On 11/5/2012 7:50 AM, Tim Aerdts wrote: >> >> Hello John, >> >> I think that file comes with the tutorial although I cannot seem to be >> able to find it there. >> Anyway what data_files does is include files in your application. >> >> In my case for example I include some other binaries that are needed >> for my application to run thus my line looks like this: >> >> data_files = [('', ['PsExec.exe'])], >> >> data_files is a tuple where 1 is the location of the files in your >> result package, for me that is the root directory: '' >> and 2 is a list of data files to include. >> >> More information is here: http://www.py2exe.org/index.cgi/data_files >> >> Cheers, >> >> -Tim >> >> >> On Sun, Nov 4, 2012 at 4:25 PM, John Thornton <bj...@gm...> wrote: >> >>> I'm attempting to follow along with the handytool tutorial but I can not >>> find the handytool.glade file that is in the setup.py. >>> >>> tutorial >>> http://www.py2exe.org/index.cgi/Py2exeAndPyGTK >>> >>> John >>> >>> >>> ------------------------------------------------------------------------------ >>> LogMeIn Central: Instant, anywhere, Remote PC access and management. >>> Stay in control, update software, and manage PCs from one command center >>> Diagnose problems and improve visibility into emerging IT issues >>> Automate, monitor and manage. Do more in less time with Central >>> http://p.sf.net/sfu/logmein12331_d2d >>> _______________________________________________ >>> Py2exe-users mailing list >>> Py2...@li... >>> https://lists.sourceforge.net/lists/listinfo/py2exe-users >>> >> >> >> >> -- >> Kind regards, >> Tim Aerdts >> http://www.tuimz.nl >> >> >> > > > -- > Kind regards, > Tim Aerdts > http://www.tuimz.nl > > > -- Kind regards, Tim Aerdts http://www.tuimz.nl |