[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] help: how to make a mac osx installer?



py2app is for creating mac apps - from the mac.  It would be great if
it could work from windows... but it'd probably take more work.  Note,
it should be possible with a gcc cross compiler... but probably a
pretty hard thing to get working.



On Feb 4, 2008 8:26 AM, Ian Mallett <geometrian@xxxxxxxxx> wrote:
> While we're on macs...
> I get this error compiling w/ 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)
>
> Why?
>
> Thanks,
> Ian
>