[Pythonmac-SIG] Using distutils with XCode

Russell E. Owen rowen at cesmail.net
Mon Oct 3 18:09:44 CEST 2005


In article <000401c5c801$ff4b88f0$232efea9 at pkiq3km4s40jzj>,
 "Paul Kinnane" <pkinnane at internode.on.net> wrote:

> OK, I found I could compile and successfully import the test.c sample
> from http://www.nevada.edu/~cwebster/Python/MPWHOWTO/MPWHOWTO.html using
> the Darwin "python setup.py install" command.
> 
> However, I'm trying to compile a wrapper for the ode physics engine.
> The wrapper is call PyODE (http://pyode.sourceforge.net/) and I've
> successfully compiled it on the Windows platform and been able to import
> it into python.
> 
> Using "python setup.py install", I get a permissions error....

use:
sudo python setup.py install
and give the admin password when requested.

This is how I install all python packages (that use distutils) on MacOS 
X or unix.

-- Russell



More information about the Pythonmac-SIG mailing list