I saw a thread about this earlier, but only jsut subscribed to the
group, so I'm starting a new one.
First -- it's great that you provide OS-X binaries -- it's a great
service, they can be a pain to build on your own.
However, the trick with OS-X binaries is that there are WAY too many
different ways that Python can be installed on OS-X. IN gneral the mac
python community has settled on supplying pre-built binaries for the
python.org install of python -- that's the one that goes in:
\Library\Frameworks\Python
Why not the Apple build?
- Each version of OS-X has a different version of Python
- Apple as NEVER updated a python within an OS-X version.
- There are bits of propriatry stuff in teh Apple build, so that it
should not be re-distributed via py2app or what have you.
So a couple comments:
1) on the pyenchant website, you dont' list the 2.7 installer at all --
at first, I didn't think to look in pypi
2) the dmg isntaller is a great way to go -- easiers to users. However,
it looks like the dmg installer is build for:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7
That is the macports binary. I don't know if that was intended, but I
don't recommend it -- macport is a system unto itself, and, in fact,
it's pretty easy to build pyenchant yourself if you are using macports
anyway (all the dependencies are available with macports). So folks
dont' usually supply binaries for it.
So it would be great if you could build a dmg against the python,org python.
Added complication: there are two python,org binaries for 2.7 on OS-X:
Python 2.7.2 Mac OS X 64-bit/32-bit x86-64/i386 Installer (for Mac OS X
10.6 and 10.7)
and
Python 2.7.2 Mac OS X 32-bit i386/PPC Installer (for Mac OS X 10.3
through 10.6)
It would be great to support both, but if you can't, I'd say prefer the
32 bit one -- it's the most universal, it will run on any 10.4 and above
Mac -- there are a fair number of people still on 10.5 (or even 10.4?),
and some PPCs still out there.
A note about binary eggs:
binary eggs are a bit of a pain on OS-X. Because of all the possible
binary options: PPC vs Intel, 32 vs 64 bit, Apple vs python.or vs fink
vs macports.... setuptools gets confused about what the egg is supposed
to be called. So if it isn't named right, it will get confused, and try
to download and build the sources.
However, it actually does seem to install it properly anyway - very odd,
and a bug that has been in setuptools for years!
At the moment, I can't remember what naming scheme to use, or even if
there is one that will work on all systems, but install worked for me.
(OS-X 10.6, Intel, python.org 32bit binary)
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception