[Pythonmac-SIG] building pkg installers with py2app

Chris Fonnesbeck fonnesbeck at gmail.com
Mon Feb 7 21:39:50 CET 2005


I am trying to make an installer for my MCMC software (PyMC) with
py2app, however when I try running bdist_mpkg, I get the following
errors:

Traceback (most recent call last):
  File "/usr/local/bin/bdist_mpkg", line 2, in ?
    from bdist_mpkg.scripts.script_bdist_mpkg import main
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/PIL/__init__.py",
line 2, in ?
    # The Python Imaging Library.
  File "/purelib/py2app/bdist_mpkg/install.py", line 4, in ?
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/PIL/__init__.py",
line 1, in ?
    #
  File "/purelib/py2app/bdist_mpkg/cmd_bdist_mpkg.py", line 17, in ?
  File "/purelib/py2app/bdist_mpkg/pkg.py", line 5, in ?
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/PIL/__init__.py",
line 33, in ?
    
  File "/purelib/py2app/py2app/install.py", line 15, in ?
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/PIL/__init__.py",
line 1, in ?
    #
  File "/purelib/py2app/py2app/build_app.py", line 25, in ?
ImportError: No module named MachOGraph

I thought MachOGraph was included with py2app.

Thanks for any help.

C.


More information about the Pythonmac-SIG mailing list