[Pythonmac-SIG] Bad installer for wxPython2.8-osx-ansi-2.8.12.1-universal-py2.7

Ned Deily nad at acm.org
Sun Dec 29 00:15:55 CET 2013


In article <nad-86DEA0.13454428122013 at news.gmane.org>,
 Ned Deily <nad at acm.org> wrote:

> In article 
> <CABRXM4=jxW8zyj5VBHBw00Q8ryGZmADV2eXGkQ=vBVEz4PKpRQ at mail.gmail.com>,
>  Tony Cappellini <cappy2112 at gmail.com> wrote:
> > I've just tried installing wx 2.8.12.1 on Mavericks and
> > apparently the installer is bad.
[...]
> I see the same thing as well and it is not limited to Mavericks.  It 
> would be good to report it to the project.

I should have Googled first.  There is a known workaround: install from 
the command line.  After double-clicking on the dmg to mount it:

sudo installer -pkg 
/Volumes/wxPython2.9-osx-2.9.4.0-cocoa-py2.7/wxPython2.9-osx-cocoa-py2.7.
pkg -target /

http://trac.wxwidgets.org/ticket/14523

Taking a quick look at the dmg contents, it seems somewhat different 
from other bundle-format pkgs I've looked at.  My guess is that 
Installer.app changed for 10.8 and is less tolerant of old packaging 
formats.  Installer.app certainly still does support older bundle-format 
packages (as opposed to the 10.5+ "flat" packages which are capable of 
being signed), even in 10.9.  The current python.org installers, for 
example, are still in the old format.  So the wxPython package should be 
fixable.  If support for installing on OS X 10.4 or earlier is not 
needed, the better solution would be to migrate to more recent packaging 
tools.

-- 
 Ned Deily,
 nad at acm.org



More information about the Pythonmac-SIG mailing list