Hello All, i'm ring to use py2applet to bundle a python application that uses several python mudules (gdal, pyqt, pygame)
as suggested on the web page : http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html#installing-with-easy-install i removed the old py2applet and i installed the latest setuptools and py2app then running : py2applet --make-setup myapp.py py2applet myapp.py i got this error : /temp/pygame/surflock.py to pygame/surflock.pyc byte-compiling /private/var/folders/ve/veXy9T8eF2mFKQhl31Blv++++TI/-Tmp-/tmppNGWPG/build/bdist.macosx-10.6-universal/python2.6-semi_standalone/app/temp/pygame/time.py to pygame/time.pyc byte-compiling /private/var/folders/ve/veXy9T8eF2mFKQhl31Blv++++TI/-Tmp-/tmppNGWPG/build/bdist.macosx-10.6-universal/python2.6-semi_standalone/app/temp/pygame/transform.py to pygame/transform.pyc *** creating application bundle: PlanetSasha *** Traceback (most recent call last): File "/Library/Python/2.6/site-packages/py2app-0.5.2-py2.6.egg/py2app/build_app.py", line 604, in _run self.run_normal() File "/Library/Python/2.6/site-packages/py2app-0.5.2-py2.6.egg/py2app/build_app.py", line 675, in run_normal self.create_binaries(py_files, pkgdirs, extensions, loader_files) File "/Library/Python/2.6/site-packages/py2app-0.5.2-py2.6.egg/py2app/build_app.py", line 772, in create_binaries target, arcname, pkgexts, copyexts, target.script) File "/Library/Python/2.6/site-packages/py2app-0.5.2-py2.6.egg/py2app/build_app.py", line 1207, in build_executable appdir, resdir, plist = self.create_bundle(target, script) File "/Library/Python/2.6/site-packages/py2app-0.5.2-py2.6.egg/py2app/build_app.py", line 1130, in create_bundle use_runtime_preference=use_runtime_preference File "/Library/Python/2.6/site-packages/py2app-0.5.2-py2.6.egg/py2app/build_app.py", line 1119, in create_appbundle extension=self.extension, File "/Library/Python/2.6/site-packages/py2app-0.5.2-py2.6.egg/py2app/create_appbundle.py", line 34, in create_appbundle copy(srcmain, destmain) File "/Library/Python/2.6/site-packages/py2app-0.5.2-py2.6.egg/py2app/util.py", line 233, in mergecopy return macholib.util.mergecopy(src, dest) File "build/bdist.macosx-10.6-universal/egg/macholib/util.py", line 111, in mergecopy copy2(src, dest) File "build/bdist.macosx-10.6-universal/egg/macholib/util.py", line 43, in copy2 shutil.copy2(fsencoding(src), fsencoding(dst)) File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/shutil.py", line 99, in copy2 copyfile(src, dst) File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/shutil.py", line 52, in copyfile fsrc = open(src, 'rb') IOError: [Errno 2] No such file or directory: '/Library/Python/2.6/site-packages/py2app-0.5.2-py2.6.egg/py2app/apptemplate/prebuilt/main-i386' > /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/shutil.py(52)copyfile() -> fsrc = open(src, 'rb') (Pdb) q Traceback (most recent call last): File "/usr/local/bin/py2applet", line 8, in <module> load_entry_point('py2app==0.5.2', 'console_scripts', 'py2applet')() File "/Library/Python/2.6/site-packages/py2app-0.5.2-py2.6.egg/py2app/script_py2applet.py", line 134, in main build(args, scripts, data_files, options) File "/Library/Python/2.6/site-packages/py2app-0.5.2-py2.6.egg/py2app/script_py2applet.py", line 187, in build target.appdir, AttributeError: 'Target' object has no attribute 'appdir' have you any clue on what's wrong and how to fix it ? thanks, Massimo. _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG