Paul McNett wrote:
> Paul McNett wrote:
>> Carl Karsten wrote:
>>> OK, using a dumbed down setup.py, I get DaboDemo.exe, run it:
>>>
>>> ---------------------------
>>> Errors occurred
>>> ---------------------------
>>> See the logfile 'P:\dabodev\dabodemo\DaboDemo\dist\DaboDemo.exe.log' for
>>> details
>>> ---------------------------
>>> OK
>>> ---------------------------
>>>
>>> D...log is just cr lf.
>> Try redirecting stderr to your own log file somewhere.
>>
>>> #!/usr/bin/env python
>>> # -*- coding: utf-8 -*-
>>>
>>> import os
>>> import glob
>>> from distutils.core import setup
>>> import py2exe
>>> import dabo.icons
>>>
>>> # from App import App
>>>
>>> # Find the location of the dabo icons:
>>> iconDir = os.path.split(dabo.icons.__file__)[0]
>> Oops, I must not have committed my latest, which traverses the subdirs
>> of the icons directory, too (tango icon theme). Hang on, and I'll do that.
>
> No, it is there. Lines 11-20 of:
> http://svn.dabodev.com/trac/daboide/browser/trunk/wizards/AppWizard/spec-setup.py.txt
>
>
No help.
Add this chunk near the top
_appName = "appName"
_appVersion = "appVersion"
_appDescription = "appDescription"
_copyright = "copyright"
_authorName = "authorName"
_authorEmail = "authorEmail"
_authorURL = "authorURL"
_authorPhone = "authorPhone"
_appComments = "This is custom software"
Comment out the app.getAppInfo("appName") calls, set packages=[] and run it on
DaboDemo.py.
The resulting exe will error right out the door. at least it better.
Also, can you run DaboDemo.py under windows and tell me of the dabo image is
broken? here is what I get: http://dev.personnelware.com/carl/a/daboerr1.png
Ed said he ran it, but I couldn't figure out if the image was displayed or not.
I am guessing not, else he wouldn't have bothered putting the file:/// into
firefox.
Carl K
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/%(messageid)s