[dabo-users] py2exe setup.py example for a class designer runnable app

2009-07-15 Thread tim awa
I have tried a couple of successful py2exe runs on a simple app and on an AppWizard generated app. Well, this was because they both have examples for me to follow. He he he. Do we have an example for a class designer runnable app as well? This is the last step of my Dabo based address book applica

Re: [dabo-users] py2exe setup.py example for a class designer runnable app

2009-07-15 Thread Paul McNett
tim awa wrote: > I have tried a couple of successful py2exe runs on a simple app and on > an AppWizard generated app. Well, this was because they both have > examples for me to follow. He he he. > > Do we have an example for a class designer runnable app as well? This > is the last step of my Dabo

Re: [dabo-users] py2exe setup.py example for a class designer runnable app

2009-07-15 Thread tim awa
Almost got there! I now have a running exe with just one hiccup. The print button generates the ff message in the exe log file. in onHit from dabo.dReportWriter import dReportWriter ImportError: No module named dReportWriter On Wed, Jul 15, 2009 at 10:47 PM, Paul McNett wrote: > ti

Re: [dabo-users] py2exe setup.py example for a class designer runnable app

2009-07-15 Thread tim awa
I need help on how to include dReportWriter in my py2exe setup.py file. I am confused why it is being left out when all other dabo components have been included during the exe build even without explicitly including them. In my print button, I have the following as my first two lines: from

Re: [dabo-users] py2exe setup.py example for a class designer runnable app

2009-07-18 Thread tim awa
Using the AppWizard setup.py as reference, I created a ui folder with an empty __init__.py and then put there the frmReportBase.py. I then ran buildwin.bat and the print button worked in the exe version. I am not using frmReportBase.py in my app as my app runs ok without it in ClassDesigner or in

Re: [dabo-users] py2exe setup.py example for a class designer runnable app

2009-07-18 Thread Paul McNett
tim awa wrote: > Using the AppWizard setup.py as reference, I created a ui folder with > an empty __init__.py and then put there the frmReportBase.py. I then > ran buildwin.bat and the print button worked in the exe version. Ah, it just clicked why this wasn't working for you: you had the 'import

Re: [dabo-users] py2exe setup.py example for a class designer runnable app

2009-07-19 Thread tim awa
oh i see. Thanks Paul. On Sat, Jul 18, 2009 at 11:10 PM, Paul McNett wrote: > tim awa wrote: >> Using the AppWizard setup.py as reference, I created a ui folder with >> an empty __init__.py and then put there the frmReportBase.py. I then >> ran buildwin.bat and the print button worked in the exe v

Re: [dabo-users] py2exe setup.py example for a class designer runnable app

2009-07-21 Thread Fiyawerx
Just to make sure I'm current with this.. when you said "What you are likely missing in a Class Designer app is including the .cdxml files as data files." what is the proper method for that? On Sun, Jul 19, 2009 at 1:09 AM, tim awa wrote: > oh i see. Thanks Paul. > > On Sat, Jul 18, 2009 at 11

Re: [dabo-users] py2exe setup.py example for a class designer runnable app

2009-07-21 Thread Paul McNett
Fiyawerx wrote: > Just to make sure I'm current with this.. when you said > > "What you are likely missing in a Class Designer app is including the > .cdxml files as data files." > > what is the proper method for that? Something like: data_files.extend(("ui", "ui/*.cdxml")) Paul