Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b08c3a8

Browse files
author
Tarek Ziadé
committed
Merged revisions 74535 via svnmerge from
svn+ssh://[email protected]/python/branches/py3k ................ r74535 | tarek.ziade | 2009-08-21 16:22:45 +0200 (Fri, 21 Aug 2009) | 9 lines Merged revisions 74533 via svnmerge from svn+ssh://[email protected]/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 ........ ................
1 parent 105d82d commit b08c3a8

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

Doc/install/index.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,8 @@ Notes:
703703
(2)
704704
On Unix, if the :envvar:`HOME` environment variable is not defined, the user's
705705
home directory will be determined with the :func:`getpwuid` function from the
706-
standard :mod:`pwd` module.
706+
standard :mod:`pwd` module. This is done by the :func:`os.path.expanduser`
707+
function used by Distutils.
707708

708709
(3)
709710
I.e., in the current directory (usually the location of the setup script).
@@ -718,9 +719,10 @@ Notes:
718719
1.5.2 installation under Windows.
719720

720721
(5)
721-
On Windows, if the :envvar:`HOME` environment variable is not defined, no
722-
personal configuration file will be found or used. (In other words, the
723-
Distutils make no attempt to guess your home directory on Windows.)
722+
On Windows, if the :envvar:`HOME` environment variable is not defined,
723+
:envvar:`USERPROFILE` then :envvar:`HOMEDRIVE` and :envvar:`HOMEPATH` will
724+
be tried. This is done by the :func:`os.path.expanduser` function used
725+
by Distutils.
724726

725727

726728
.. _inst-config-syntax:

Misc/NEWS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,12 @@ directories.
122122
- Issue 5390: Add uninstall icon independent of whether file
123123
extensions are installed.
124124

125+
Documentation
126+
-------------
127+
128+
- Issue #6556: Fixed the Distutils configuration files location explanation
129+
for Windows.
130+
125131
Test
126132
----
127133

0 commit comments

Comments
 (0)