Ronald,

I found the following tiny bug in py2app/build_app.py:

near line 475, there is:

allres = chain(getattr(dist, 'data_files', ()) or (), self.resources)

but "chain" was never defined.

A simple:

from itertools import chain

At the top of the file seems to have fixed it.

-Chris



--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

chris.bar...@noaa.gov
Index: py2app/build_app.py
===================================================================
--- py2app/build_app.py (revision 80)
+++ py2app/build_app.py (working copy)
@@ -14,6 +14,7 @@
 import shlex
 import shutil
 from cStringIO import StringIO
+from itertools import chain
 
 from setuptools import Command
 from distutils.util import convert_path
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to