Your search query "linkto%3A%22MacPython%2Fmacholib%22" didn't return any results. Please change some terms and refer to HelpOnSearching for more information.
(!) Consider performing a full-text search with your search terms.

Clear message

I followed a link labelled "macholib trac", and it took me to this page, so here we go. ;-)

issue #1: TypeError when macholib is just being installed due to setup_requires reporter:

As detected by a TahoeLAFS buildbot:

When macholib is not currently installed, but is marked as "setup_requires" in the file, then py2app yields the following traceback:

Installed /Users/tahoebuildslave/trunk6/mac/macholib-1.2-py2.5.egg
Traceback (most recent call last):
  File "./", line 56, in <module>
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/", line 112, in setup
    _setup_distribution = dist = klass(attrs)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.6c9-py2.5.egg/setuptools/", line 223, in __init__
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/", line 267, in __init__
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.6c9-py2.5.egg/setuptools/", line 256, in finalize_options
    ep.load()(self,, value)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/setuptools-0.6c9-py2.5.egg/", line 1913, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/", line 27, in <module>
    import macholib.MachOStandalone
  File "build/bdist.macosx-10.3-i386/egg/macholib/", line 8, in <module>
  File "build/bdist.macosx-10.3-i386/egg/macholib/", line 17, in <module>
  File "build/bdist.macosx-10.3-i386/egg/macholib/", line 15, in <module>
  File "build/bdist.macosx-10.3-i386/egg/macholib/", line 56, in <module>
TypeError: Error when calling the metaclass bases
    cannot create 'builtin_function_or_method' instances

If you try the same build again (so this time a macholib egg is already present in the PWD then the build succeeds.

Unable to edit the page? See the FrontPage for instructions.