diff options
author | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-08-21 14:14:55 (GMT) |
---|---|---|
committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-08-21 14:14:55 (GMT) |
commit | 58266aacf84897695e861ac2d179f071d2142308 (patch) | |
tree | 8338d4380991bdd26a8bf4d7b6bc4920ec9472be /Doc | |
parent | e402e2a48eacd2a66b32bca7363d8fd4b66a41fa (diff) | |
download | cpython-58266aacf84897695e861ac2d179f071d2142308.zip cpython-58266aacf84897695e861ac2d179f071d2142308.tar.gz cpython-58266aacf84897695e861ac2d179f071d2142308.tar.bz2 |
Merged revisions 74533 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74533 | tarek.ziade | 2009-08-21 16:11:26 +0200 (Fri, 21 Aug 2009) | 1 line
Fixed #6556: Corrected doc on how Distutils looks for its user configuration file under Windows
........
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/install/index.rst | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Doc/install/index.rst b/Doc/install/index.rst index b1b9468..c67ccee 100644 --- a/Doc/install/index.rst +++ b/Doc/install/index.rst @@ -706,7 +706,8 @@ Notes: (2) On Unix, if the :envvar:`HOME` environment variable is not defined, the user's home directory will be determined with the :func:`getpwuid` function from the - standard :mod:`pwd` module. + standard :mod:`pwd` module. This is done by the :func:`os.path.expanduser` + function used by Distutils. (3) I.e., in the current directory (usually the location of the setup script). @@ -721,9 +722,10 @@ Notes: 1.5.2 installation under Windows. (5) - On Windows, if the :envvar:`HOME` environment variable is not defined, no - personal configuration file will be found or used. (In other words, the - Distutils make no attempt to guess your home directory on Windows.) + On Windows, if the :envvar:`HOME` environment variable is not defined, + :envvar:`USERPROFILE` then :envvar:`HOMEDRIVE` and :envvar:`HOMEPATH` will + be tried. This is done by the :func:`os.path.expanduser` function used + by Distutils. .. _inst-config-syntax: |