how to find site-packages path

Michael Hoffman at mh391.invalid
Mon Jan 17 18:38:28 EST 2005

Philippe C. Martin wrote:

> I am using my own install script for my software and am looking for a
> flawless way to figure out where python, and more specifically
> site-packages is installed.

The flawless way would be to use distutils. In fact you shouldn't even
need your own install script--it should do most of the work for you.
Michael Hoffman

More information about the Python-list mailing list