[Pythonmac-SIG] Patch for bdist_mpkg
Russell E. Owen
rowen at u.washington.edu
Wed Apr 22 01:10:30 CEST 2009
bdist_mpkg failed for me on 10.5.6 when I tried to build a binary for
numarray 1.3.0/Python 2.6 as follows:
kages/bdist_mpkg/tools.py", line 106, in admin_writable
gid = get_gid('admin')
kages/bdist_mpkg/tools.py", line 90, in get_gid
raise ValueError('group %s not found' % (name,))
ValueError: group admin not found
When I noted this on a numpy mailing list David Cournapeau pointed out
the a patch, which is at the very end of the following document:
"It is a bug of bdist_mpkg on leopard (the error message is a bit
misleading - if you look at the code, you will see it calls for a
command line utility which does not exist on leopard)."
I applied the patch and it worked for me.
I'm hoping the patch (or an equivalent) could make its way to the
release version. If there's anything I can do to help this process let
P.S. I have a binary installer for numpy 1.3.0 on MacPython 2.6. Email
me if you want to test it or serve it. So far binary installers for
MacPython 2.6 seem to be in very short supply (I still need matplotlib
and PIL before I can switch away from Python 2.5).
More information about the Pythonmac-SIG