[Python-Dev] PEP: per user site-packages directory (original) (raw)
Walter Dörwald walter at livinglogic.de
Mon Jan 14 13:08:20 CET 2008
- Previous message: [Python-Dev] PEP: per user site-packages directory
- Next message: [Python-Dev] PEP: per user site-packages directory
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Christian Heimes wrote:
[...] PEP: XXX Title: Per user site-packages directory Version: RevisionRevisionRevision Last-Modified: DateDateDate Author: Christian Heimes <christian(at)cheimes(dot)de> Status: Draft Type: Standards Track Content-Type: text/x-rst Created: 11-Jan-2008 Python-Version: 2.6, 3.0 Post-History: [...] user site directory
A site directory inside the users' home directory. An user site directory is specific to a Python version. The path contains the version number (major and minor only). Windows: %APPDATA%/Python/Python26/site-packages Mac: ~/Library/Python/2.6/site-packages Unix: ~/.local/lib/python2.6/site-packages
user configuration directory Usually the parent directory of the user site directory. It's meant for Python version specific data like config files. Windows: %APPDATA%/Python/Python26 Mac: ~/Library/Python/2.6 Unix: ~/.local/lib/python2.6
So if I'm using the --user option, where would scripts be installed? Would this be:
Windows: %APPDATA%/Python/Python26/bin Mac: ~/Library/Python/2.6/bin Unix: ~/.local/lib/python2.6/bin
I'd like to be able to switch between several versions of my user installation simply by changing a link. (On the Mac I'm doing this by relinking ~/Library/Python to different directories.)
Servus, Walter
- Previous message: [Python-Dev] PEP: per user site-packages directory
- Next message: [Python-Dev] PEP: per user site-packages directory
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]