[Pythonmac-SIG] pychecker

Bob Ippolito bob at redivi.com
Tue Jan 4 05:13:21 CET 2005


On Jan 3, 2005, at 10:25 PM, Robert Kern wrote:

> Mike Hansen wrote:
>> Does anyone have any ideas on how I can get pychecker to work?
>
> Create a file in your home directory called .pydistutils.cfg (yes, the 
> first dot is important).
>
> Put the following text (between the two #-comment lines) into it:
>
> # Begin File
> [install]
> install-purelib=/Library/Python/2.3
> install-platlib=/Library/Python/2.3
> install-scripts=/usr/local/bin
> install-data=/usr/local/share
> # End File
>
> Now reinstall pychecker.

Do this instead:

# Begin File
[install]
install-scripts=/usr/local/bin
install-data=/usr/local/share
# End File

Screwing with purelib and platlib is a terrible idea if you ever have 
multiple versions of Python installed, because they will all use the 
same .pydistutils.cfg.  The standard Python 2.3.0 already puts its 
purelib and platlib there anyway (indirectly via symlink, but it still 
goes there), so it's not ever going to actually do anything helpful.

-bob



More information about the Pythonmac-SIG mailing list