On Thu, Sep 21, 2006 at 05:43:33PM +0800, Jerome BENOIT wrote: > Hello List, > > I have to use Python, which is new for me. > > In particular I have to install some Python packages > which are not debianised on my Etch box: > I tired to do so, but I realized that the package > was installed in the /usr directory, > namely not in the /usr/local directory as I expected: > 1] this seems not in accordance with the Debian policy > (and I do not like it); > 2] is there some kind of `config.site' for Python ?
I think what you're looking for is the prefix switch: python setup.py install --prefix=/usr/local See section 3.2 of "Installing Python Modules" in the Python docs. HTH, -- Larry Holish <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]