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

Skip to content

Commit f3b3322

Browse files
author
Tarek Ziadé
committed
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 3ee22ec commit f3b3322

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
@@ -161,6 +161,12 @@ Build
161161
- Issue 5390: Add uninstall icon independent of whether file
162162
extensions are installed.
163163

164+
Documenation
165+
------------
166+
167+
- Issue #6556: Fixed the Distutils configuration files location explanation
168+
for Windows.
169+
164170
Tests
165171
-----
166172

0 commit comments

Comments
 (0)