On Mon, Aug 03, 2009, Henning Hraban Ramm wrote: > Am 2009-08-03 um 18:23 schrieb Aahz: >> >> I'm using py2app 0.3.6 with PyObjC 2.2b2, and py2app is refusing to >> copy >> pyobjc_framework_Cocoa-2.2b2-py2.6-macosx-10.3-fat.egg/PyObjCTools/NibClassBuilder >> into site-packages.zip. The weird thing is that I *do* get >> PyObjCTools/__init__.pyo, but none of the other files in the package. >> I've tried setting both 'packages' and 'includes' in setup.py, but >> it's not working. Suggestions? > > py2app can't handle zipped eggs. Install your eggs with "easy_install - > Z" (or "pip unzip").
That's a fair question -- I've run into that before and I've made sure all packages are unzipped. My suspicion at this point is that py2app can't deal with distributed eggs. That is, three PyObjC eggs contain part of PyObjCTools: aahz Python/2.6/site-packages: find . -name PyObjCTools ./pyobjc_core-2.2b2-py2.6-macosx-10.3-fat.egg/PyObjCTools ./pyobjc_framework_Cocoa-2.2b2-py2.6-macosx-10.3-fat.egg/PyObjCTools ./pyobjc_framework_ExceptionHandling-2.2b2-py2.6.egg/PyObjCTools Should I just merge them all into a single egg, maybe? -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "...string iteration isn't about treating strings as sequences of strings, it's about treating strings as sequences of characters. The fact that characters are also strings is the reason we have problems, but characters are strings for other good reasons." --Aahz _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig