Subject: Re: [Pythonmac-SIG] pychecker From: Bob Ippolito <[EMAIL PROTECTED]> Date: Mon, 3 Jan 2005 23:13:21 -0500 To: Robert Kern <[EMAIL PROTECTED]>

To:
Robert Kern <[EMAIL PROTECTED]>
CC:
pythonmac-sig@python.org



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



------------------------------------------------------------------------

Argh.../usr/local/bin wasn't in my path. I also did the .pydistutils.cfg. Reinstalled pychecker, and it works now.


Thanks for the help.

Mike
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to