I am trying to build a program with py2app ($ python setup.py py2app) using Mac
OS X 10.6.4 and Python 2.7. Right after it finishes bundling the application,
the terminal stops with this output:
Traceback (most recent call last):
File "/Users/sam/Desktop/Program/py2app-0.5.2-py2.7.egg/py2app/build_app.py",
line 604, in _run
self.run_normal()
File "/Users/sam/Desktop/Program/py2app-0.5.2-py2.7.egg/py2app/build_app.py",
line 675, in run_normal
self.create_binaries(py_files, pkgdirs, extensions, loader_files)
File "/Users/sam/Desktop/Program/py2app-0.5.2-py2.7.egg/py2app/build_app.py",
line 772, in create_binaries
target, arcname, pkgexts, copyexts, target.script)
File "/Users/sam/Desktop/Program/py2app-0.5.2-py2.7.egg/py2app/build_app.py",
line 1215, in build_executable
copy_resource(src, dest, dry_run=self.dry_run)
File "/Users/sam/Desktop/Program/py2app-0.5.2-py2.7.egg/py2app/util.py", line
96, in copy_resource
copy_file(source, destination, dry_run=dry_run)
File "/Users/sam/Desktop/Program/py2app-0.5.2-py2.7.egg/py2app/util.py", line
101, in copy_file
zf, zp = path_to_zip(source)
File "/Users/sam/Desktop/Program/py2app-0.5.2-py2.7.egg/py2app/util.py", line
133, in path_to_zip
raise DistutilsFileError(path)
DistutilsFileError: /
> /Users/sam/Desktop/Program/py2app-0.5.2-py2.7.egg/py2app/util.py(133)path_to_zip()
-> raise DistutilsFileError(path)
(Pdb)
I can't seem to find this problem answered elsewhere. Does anybody have any
suggestions?
Thanks,
Sam
_______________________________________________
Pythonmac-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG