[Tutor] PYTHON ON OSX

Steven Burr sburr@mac.com
Thu, 19 Apr 2001 00:07:53 -0700


On Wednesday, April 18, 2001, at 07:46 PM, Daniel Yoo wrote:

> On Wed, 18 Apr 2001, Robert Hicks wrote:
>
>> http://www.zope.org/Members/jshell/ZopeOnOSX
>>
>> This pretty much explains it all.
>>
>> I did NOT have to do the FCNTL
>> I DID have to edit the Makefile
>> I did NOT have to do "cp Python/python ./python.exe"
>
> Thanks for the info; there was a LOT of people asking about this on
> python-help as well.
>

I think the instructions on the Zope web site may be a bit dated.  The 
Unix version of Python 2.1 now compiles "out of the box" on OS X.

The README file in the Python-2.1/ directory that you get after 
untarring the tarball includes specific instructions for running the 
configure script in OS X.  If you follow those instructions, you can do 
the usual make, make install routine afterwards.  There's no longer any 
need to edit the Makefile manually.  I just compiled and installed the 
final release this way, and it worked without a hitch.

One caveat, OS X users may need to add /usr/local/bin, where the python 
binary is installed by default, to their paths.

There's a lot more information on what people have been up to with 
python on OS X in the archives for the python-mac SIG.