Sorry, I know this is elementary. I haven't used py2app in a couple
of years and I think things have changed. I'm using Python 2.6.2,
wxPython (current), py2app 0.3.6, and a fresh download of setuptools.
My setup.py for my app contains the newer style "from setuptools
import setup" rather than the old "from distutils.core import setup".
Things seem to work until near the end, when I get a message about a
missing Info.plist file. Traceback pasted below.
Am I just missing something stupid, or has something changed I don't
know about, or have I failed to update something I needed to update?
Thanks for any guidance.
Charles Hartman
copying /Library/Frameworks/Python.framework/Versions/2.6/Resources/
Info.plist -> /Users/chartman/Documents/Python/Concord/dist/
Concord.app/Contents/Frameworks/Python.framework/Versions/2.6/Resources
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/py2app-0.3.6-py2.6.egg/py2app/build_app.py",
line 548, in _run
self.run_normal()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/py2app-0.3.6-py2.6.egg/py2app/build_app.py",
line 619, 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.3.6-py2.6.egg/py2app/build_app.py",
line 723, in create_binaries
mm.mm.run_file(runtime)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachOGraph.py", line
62, in run_file
m = self.findNode(pathname)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachOGraph.py", line
55, in findNode
newname = self.locate(name)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachOStandalone.py",
line 30, in locate
return self.delegate.locate(newname)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachOStandalone.py",
line 69, in locate
res = self.copy_framework(info)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/py2app-0.3.6-py2.6.egg/py2app/build_app.py",
line 56, in copy_framework
destfn = self.appbuilder.copy_framework(info, self.dest)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/py2app-0.3.6-py2.6.egg/py2app/build_app.py",
line 789, in copy_framework
self.copy_python_framework(info, dst)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/py2app-0.3.6-py2.6.egg/py2app/build_app.py",
line 817, in copy_python_framework
os.path.join(outdir, fn))
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/distutils/cmd.py", line 376, in copy_file
dry_run=self.dry_run)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/distutils/file_util.py", line 119, in copy_file
"can't copy '%s': doesn't exist or not a regular file" % src
DistutilsFileError: can't copy '/Library/Frameworks/Python.framework/
Versions/2.6/Resources/version.plist': doesn't exist or not a regular
file
> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
distutils/file_util.py(119)copy_file()
-> "can't copy '%s': doesn't exist or not a regular file" % src
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig