[Pythonmac-SIG] Patch for bdist_mpkg

Ronald Oussoren ronaldoussoren at mac.com
Wed Apr 22 07:27:38 CEST 2009


Russel,

The patch is already in the reposity. I guess Bob never released a  
version with that patch included.

Are you using bdist_mpkg 0.4.3?  If so, I'll push out a new release  
that includes the patch.

Ronald

On 22 Apr, 2009, at 1:10, Russell E. Owen wrote:

> 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:
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ 
> site-pac
> kages/bdist_mpkg/tools.py", line 106, in admin_writable
>    gid = get_gid('admin')
>  File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ 
> site-pac
> 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:
>  <http://www.pymvpa.org/devguide.html>
> and stated:
> "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
> me know.
>
> -- Russell
>
> 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).
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2224 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20090422/aa2d57c6/attachment.bin>


More information about the Pythonmac-SIG mailing list