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.

> How did you figure out how to do it for appwiz?  I have yet to find anything 
> that looks like docs.

Trial/error, looking at the sample files that come with py2exe, googling 
for things like 'py2exe setup.py examples', looking at the source code, 
and along those lines. Basically, how I figure out how to do anything in 
open source.

-- 
pkm ~ http://paulmcnett.com


_______________________________________________
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

Reply via email to