[Pythonmac-SIG] py2app and Python 3.2

Dan Ross dan at rosspixelworks.com
Mon Mar 14 23:53:24 CET 2011


 Hi all-

 I have a very small and simple Tkinter/Python 3.2 app that I'm trying 
 to bundle with py2app.

 After updating py2app and it's dependencies to "dev" versions I still 
 get the following error:


 *** creating application bundle: gui ***
 Traceback (most recent call last):
   File 
 "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/py2app-0.5.2-py3.2.egg/py2app/build_app.py", 
 line 604, in _run
     self.run_normal()
   File 
 "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/py2app-0.5.2-py3.2.egg/py2app/build_app.py", 
 line 675, in run_normal
     self.create_binaries(py_files, pkgdirs, extensions, loader_files)
   File 
 "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/py2app-0.5.2-py3.2.egg/py2app/build_app.py", 
 line 772, in create_binaries
     target, arcname, pkgexts, copyexts, target.script)
   File 
 "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/py2app-0.5.2-py3.2.egg/py2app/build_app.py", 
 line 1253, in build_executable
     sys.version[:3])), os.path.join(inc_dir, 'pyconfig.h'))
   File 
 "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/distutils/cmd.py", 
 line 350, in copy_file
     dry_run=self.dry_run)
   File 
 "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/distutils/file_util.py", 
 line 106, in copy_file
     "can't copy '%s': doesn't exist or not a regular file" % src)
 distutils.errors.DistutilsFileError: can't copy 
 '/Library/Frameworks/Python.framework/Versions/3.2/include/python3.2/pyconfig.h': 
 doesn't exist or not a regular file
> 
> /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/distutils/file_util.py(106)copy_file()
 -> "can't copy '%s': doesn't exist or not a regular file" % src)
 (Pdb)


 From snooping around in 
 Library/Frameworks/Python.framework/Versions/3.2/include/ in looks like 
 the python folder is named python3.2m rather than just python.

 Does this sound familiar or am I barking up the wrong tree?

 Oh. OS 10.6.6 Python 3.2 64bit

 Thanks,

 Dan


More information about the Pythonmac-SIG mailing list