[Python-Dev] PEP: per user site-packages directory
barry at python.org
Mon Jan 14 21:07:20 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
On Jan 14, 2008, at 2:13 PM, glyph at divmod.com wrote:
> ~/bin comes from the convention of "./configure --prefix=$HOME", as
> autoconf suggests. This means users must have visible directories in
> their home folder named (among other things) "bin", "share", "lib",
> "src", "sbin", "man", and "include". I find this ugly. I only find
> slightly less ugly that Python will now hide its locally-installed
> library files from me but not its locally-installed executable
> "./configure --prefix=$HOME/.local" will instead put things into
> ~/.local/bin, ~/.local/lib, etc.
> Now, I am aware that setup.py already has a special "--home" option,
> it can be incompatibly changed, but I don't see a reason for this.
> that --home $HOME will currently put files into ~/lib, not ~/.local/
> (and --home $HOME/local will put scripts into ~/.local/bin, not ~/
> But, now that I've told you what I think in more detail, unless you
> my ideas and have specific questions, I will try to refrain from
> commenting further, lest I dig my own bike shed here :).
I feel pretty strongly that ~/bin should *not* be used. It makes
sense to me that ~/.local would mirror /usr/local.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
-----END PGP SIGNATURE-----
More information about the Python-Dev