On 12 Jan, 2008, at 19:35, Edward Hartley wrote:
Hi Ronald, further to my previous on py2app modulegraph With these changes py2app is not to working at all.
Arghh.... I guess my merge of the version of py2app and friends from Leopard wasn't complete. I'm currently working on some cleanups in the pyobjc repository and a port of pyobjc to 64-bit PPC and will look into this issue when that's finished. With some luck that will be later today.
BTW. Thank's for mentioning that the PyAvenger sample is broken as well, that will make it a lot easier to debug the problem.
Ronald
Constructive suggestions would be welcomed detail follows. So having changed py2app setup.py from install_requires=[ "altgraph>=0.6.7", "modulegraph>=0.7.2", "macholib>=1.1", "bdist_mpkg>=0.4", ], to install_requires=[ "altgraph>=0.6.7", "modulegraph>=0.7.2.dev-r21", "macholib>=1.1", "bdist_mpkg>=0.4", ],and updating setuptools and checking modulegraph >=0.7.2 i.e. 0.7.2.dev-r21as shown here: sudo easy_install --upgrade setuptools Password: Processing setuptoolsRunning setup.py -q bdist_egg --dist-dir /Users/edh/AnonCVS/ setuptools/setuptools/egg-dist-tmp-1stpfV setuptools 0.7a1dev-r59683 is already the active version in easy- install.pth Installing easy_install script to /Library/Frameworks/ Python.framework/Versions/2.5/bin Installing easy_install-2.5 script to /Library/Frameworks/ Python.framework/Versions/2.5/binInstalled /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/setuptools-0.7a1dev_r59683-py2.5.eggProcessing dependencies for setuptools==0.7a1dev-r59683 Finished processing dependencies for setuptools==0.7a1dev-r59683mirrorman:~/AnonCVS/setuptools edh$ sudo easy_install --upgrade modulegraphSearching for modulegraph Reading http://pypi.python.org/simple/modulegraph/ Reading http://undefined.org/python/#modulegraph Best match: modulegraph 0.7.2.dev-r21 Processing modulegraph-0.7.2.dev_r21-py2.5.eggmodulegraph 0.7.2.dev-r21 is already the active version in easy- install.pthNow Running ~/PyObjC/OpenGLDemo edh$ python setup.py py2appShows these errors from modulegraph so is 0.7.2.dev-r21 not the correct version or is there another problem?running py2app Traceback (most recent call last):File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py", line 579, in _runself.run_normal()File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py", line 631, in run_normalmf = self.get_modulefinder()File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py", line 539, in get_modulefinderdebug=debug,File "build/bdist.macosx-10.3-fat/egg/modulegraph/ find_modules.py", line 255, in find_modulesfind_needed_modules(mf, scripts, includes, packages)File "build/bdist.macosx-10.3-fat/egg/modulegraph/ find_modules.py", line 176, in find_needed_modulesmf.run_script(path)File "build/bdist.macosx-10.3-fat/egg/modulegraph/modulegraph.py", line 369, in run_scriptself.scan_code(co, m)File "build/bdist.macosx-10.3-fat/egg/modulegraph/modulegraph.py", line 638, in scan_codeself.scan_code(c, m)File "build/bdist.macosx-10.3-fat/egg/modulegraph/modulegraph.py", line 610, in scan_codeself._safe_import_hook(name, m, fromlist)File "build/bdist.macosx-10.3-fat/egg/modulegraph/modulegraph.py", line 540, in _safe_import_hookmods = self.import_hook(name, caller)File "build/bdist.macosx-10.3-fat/egg/modulegraph/modulegraph.py", line 380, in import_hookq, tail = self.find_head_package(parent, name)File "build/bdist.macosx-10.3-fat/egg/modulegraph/modulegraph.py", line 419, in find_head_packageq = self.import_module(head, qname, parent)File "build/bdist.macosx-10.3-fat/egg/modulegraph/modulegraph.py", line 493, in import_moduleparent and parent.packagepath, parent)File "build/bdist.macosx-10.3-fat/egg/modulegraph/modulegraph.py", line 680, in find_modulefp, buf, stuff = find_module(name, path)File "build/bdist.macosx-10.3-fat/egg/modulegraph/modulegraph.py", line 114, in find_moduleif isinstance(importer, pkg_resources.ImpWrapper): AttributeError: 'module' object has no attribute 'ImpWrapper'It also is broken when building Apple's Xcode example PyAverager which previously worked.Both from their web site files and my recreation of it.Removing py2app 0.4.2 and reverting to 0.3.6 fixes that IIRC rev 66 still worked with XcodeBest Regards Ed On 12 Jan 2008, at 06:54, Ronald Oussoren wrote:On 10 Jan, 2008, at 12:44, Edward Hartley wrote:On 10 Jan 2008, at 11:00, [EMAIL PROTECTED] wrote:When replying, please edit your Subject line so it is more specific than "Re: Contents of Pythonmac-SIG digest..." Today's Topics: 1. Re: py2app 0.4.2 recipe errors (Ronald Oussoren)2. Re: creating PyObjC wrapper for ObjC framework? (Ronald Oussoren)From: Ronald Oussoren <[EMAIL PROTECTED]> Date: 10 January 2008 06:49:32 GMT To: michael ferraro <[EMAIL PROTECTED]> Cc: pythonmac-sig@python.org Subject: Re: [Pythonmac-SIG] py2app 0.4.2 recipe errors It should work again RonaldDoes this mean the cvs for py2app has been updated?Of course. What else could I mean? Ronald
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig