Sorry Russell, I was a bit brief before. checks for a system requirement when the user installs numpy.  I build numpy using bdist_mpkg against the version of python (MacPython).  If a user tries to install numpy and they _do not_ have this version of python installed, issues a warning:
"numpy requires System Python 2.5 to install."

The phrase "System Python" is misleading, it's reasonable to assume that refers to the system version of python.  So I'd like to change it.

This string is stored in an Info.plist buried in the .mpkg that bdist_mpkg builds.  I'd like to be able to override that string from the command line, but there does not seem to be any options for changing the requirements from the command line.

The hack solution is to modify the string in the Info.plist after the package is built.  But I'm hoping there's a proper solution that I'm missing.


On Fri, Jul 18, 2008 at 11:59 AM, Russell E. Owen <> wrote:
In article
 "Christopher Burns" <> wrote:

> I've been using bdist_mpkg to build the OSX Installer.  I'd like to update
> the requirement documentation for the 1.1.1 release candidate to say
> "MacPython from" instead of "System Python".  bdist_mpkg
> specifies this, does anyone know how to override it?

I suspect I am misunderstanding your question, but...

If you are asking how to make bdist_mkpg actually use MacPython, then
surely you simply have to have MacPython installed for that to happen?
That was certainly true for MacPython and bdist_mpkg on 10.4.x.

Or are you asking how to make the installer fail if the user's system is
missing MacPython? That I don't know. I usually rely on the .mpkg's
ReadMe and the user being intelligent enough to read it, but of course
that is a bit risky.

If you are asking how to modify the ReadMe file then that is trivial --
just look through the .mpkg package and you'll find it right away. I
often replace the default ReadMe with my own when creating .mpkg
installer for others.

-- Russell

Numpy-discussion mailing list

Christopher Burns
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014