[Numpy-discussion] OS X installers - naming scheme and 2.7 annoyance
Sat Oct 16 11:11:32 CDT 2010
On Sun, Oct 17, 2010 at 12:04 AM, Vincent Davis
> On Sat, Oct 16, 2010 at 4:18 AM, Ralf Gommers
> <email@example.com> wrote:
>> Hi all,
>> With there being two different installers for Python 2.7 on python.org
>> (10.3+ has ppc/i386, 10.5+ has ppc/i386/x86_64) a change to the naming
>> scheme is needed for the numpy binaries. That's assuming we provide
>> two corresponding installers with the same arches. I propose the
>> "numpy-%s-py%s-python.org-macosx%s.dmg" % (fullversion, pyver, osxver)
>> These two 2.7 versions are fairly annoying by the way - only one of
>> them can live in /Library/Frameworks. Here are the options I see to
>> fix this:
>> 1) Manually reinstall the desired version, then build the installer against it.
>> 2) Have two clearly named virtualenvs for them and build against those
>> executables without activating the virtualenvs. Then change the
>> hardcoded python executable path in the generated Info.plist files
>> under tools/numpy-macosx-installer/content/.
>> 3) Have only the 10.5 py27 installed, create the 10.3 numpy installer
>> by specifying all CFLAGS/LDFLAGS in the paver script.
>> I'm not liking any of those options much. Anyone have a better idea?
>> The python.org offering may change again in the near future by the
>> way. Excerpt from an email by Ronald Oussoren on the pythonmac list:
>> "The consensus at the [europython] summit was to replace the
>> macosx10.5 installer (ppc, x86, x86_64) by a macosx10.6 (x86, x86_64)
>> installer for future releases. That enables linking with Tk 8.5 and
>> that would solve a number of issues other than being available in
>> 64-bit code. Users of OSX 10.5 (or earlier) can still use the
>> macosx10.3 installer, that would stay the same. The only difference
>> for OSX 10.5 users is that they cannot use 64-bit code without
>> building their own binaries."
> Just to be clear. If we are building a 10.5 numpy py27 release we
> should be building it on Python
> "32-bit Mac Installer disk image (2.7) for OS X 10.3 and later (sig)".
> Is this correct or the proposal?
No, numpy-1.5.1-py2.7-python.org-macosx10.5.dmg would be built against
the version in XX-macosx10.5 installer from python.org, and
numpy-...macosx10.3.dmg against XX-macosx10.3 installer.
More information about the NumPy-Discussion