At 03:20 AM 11/30/2006 +0000, [EMAIL PROTECTED] wrote:
>One of the things that combinator hacks is where distutils thinks it 
>should install to - when *I* type "python setup.py install" nothing tries 
>to insert itself into system directories (those are for Ubuntu, not me) - 
>~/.local is the *default* install location.  I haven't managed to make 
>this feature work with eggs yet, but I haven't done a lot of work with 
>setuptools.

easy_install uses the standard distutils configuration system, which means 
that you can do e.g.

    [install]
    prefix = ~/.local

in ./setup.cfg, ~/.pydistutils.cfg, or 
/usr/lib/python2.x/distutils/distutils.cfg to set the default installation 
prefix.  Setuptools (and distutils!) will then install libraries to 
~/.local/lib/python2.x/site-packages and scripts to ~/.local/bin.

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to