Christopher Barker wrote:
Hi folks,

I'm trying to test the latest py2app updates. However, easy_install is failing in a number of places. I'm trying:

easy_install py2app==dev

but get errors in the modulegraph dependency.

It looks like somehow pypi doesn't know about modulegraph svn (or has the wrong info).

Anyway, I got it all from svn, and it built and installed fine. However, now I get the following error from py2app:

Not much time to poke into this now, but it reminded my of how we need a set of py2app simple test applications. I'll try to make a few of those as I poke into this.

-Chris


*** creating application bundle: Maproom ***
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.4.2-py2.6.egg/py2app/build_app.py", line 589, in _run
    self.run_normal()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.4.2-py2.6.egg/py2app/build_app.py", line 660, in run_normal
    self.create_binaries(py_files, pkgdirs, extensions, loader_files)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.4.2-py2.6.egg/py2app/build_app.py", line 755, in create_binaries
    target, arcname, pkgexts, copyexts, target.script)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.4.2-py2.6.egg/py2app/build_app.py", line 1177, in build_executable
    for src, dest in self.iter_data_files():
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.4.2-py2.6.egg/py2app/build_app.py", line 475, in iter_data_files
    allres = chain(getattr(dist, 'data_files', ()) or (), self.resources)
NameError: global name 'chain' is not defined
> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.4.2-py2.6.egg/py2app/build_app.py(475)iter_data_files()
-> allres = chain(getattr(dist, 'data_files', ()) or (), self.resources)



When I install modulegraph==dev, I get errors in the altgraph dependency.

If I install altgraph, then modulegraph, then py2app, the first two go OK, but I get:

No local packages or download links found for modulegraph>=0.8

and, indeed, the modulegraph that installed with modulegraph==dev is:

 >>> modulegraph.__version__
'0.7.1'


I'll keep plugging away, and maybe do a straight non-setuptools install, but it would be nice if this could get cleaned up.

I'm a bit lost when it comes to setuptools, so I'm not sure I can work out a patch.

-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
_______________________________________________
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