[Pythonmac-SIG] Error in py2app

Ian Mallett geometrian at gmail.com
Sun Feb 3 02:18:07 CET 2008


Hi,

I'm getting the following error when running py2app:

*** creating application bundle: Gravity ***
Traceback (most recent call last):
  File "C:\dev\Python25\lib\site-packages\py2app-
0.3.6-py2.5.egg\py2app\build_ap
p.py", line 548, in _run
    self.run_normal()
  File "C:\dev\Python25\lib\site-packages\py2app-
0.3.6-py2.5.egg\py2app\build_ap
p.py", line 619, in run_normal
    self.create_binaries(py_files, pkgdirs, extensions, loader_files)
  File "C:\dev\Python25\lib\site-packages\py2app-
0.3.6-py2.5.egg\py2app\build_ap
p.py", line 710, in create_binaries
    target, arcname, pkgexts, copyexts, target.script)
  File "C:\dev\Python25\lib\site-packages\py2app-
0.3.6-py2.5.egg\py2app\build_ap
p.py", line 1043, in build_executable
    appdir, resdir, plist = self.create_bundle(target, script)
  File "C:\dev\Python25\lib\site-packages\py2app-
0.3.6-py2.5.egg\py2app\build_ap
p.py", line 973, in create_bundle
    use_runtime_preference=use_runtime_preference
  File "C:\dev\Python25\lib\site-packages\py2app-
0.3.6-py2.5.egg\py2app\build_ap
p.py", line 962, in create_appbundle
    extension=self.extension,
  File "C:\dev\Python25\lib\site-packages\py2app-
0.3.6-py2.5.egg\py2app\create_a
ppbundle.py", line 29, in create_appbundle
    srcmain = module.setup.main()
  File "C:\dev\Python25\lib\site-packages\py2app-
0.3.6-py2.5.egg\py2app\apptempl
ate\setup.py", line 14, in main
    CC = cfg['CC']
KeyError: 'CC'
> c:\dev\python25\lib\site-packages\py2app-
0.3.6-py2.5.egg\py2app\apptemplate\se
tup.py(14)main()
-> CC = cfg['CC']
(Pdb)

What can I do to fix this?
Thanks,
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20080202/1950d1b7/attachment.htm 


More information about the Pythonmac-SIG mailing list