[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: python: local site-packages



Thanks for the answer.

Since my email, I have made some progress in Python:
there is a debian switch (which is incompatible with the --prefix switch):

python setup.py install --debian

So far, I get only error messages:
I guess I have to dig this matter.

Thanks,
Jerome

Larry Holish wrote:
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,


--
Jerome BENOIT
jgmbenoit_at_mailsnare_dot_net



Reply to: