summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-08-21 14:22:45 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-08-21 14:22:45 (GMT)
commitf3b33221046edcf508b807b79a2a5fbb1b66b9cb (patch)
tree177aad7b39e8e6606f852c282d49e89a07fcb5ba
parent3ee22ece591915b69ba223695013c055e0eb86da (diff)
downloadcpython-f3b33221046edcf508b807b79a2a5fbb1b66b9cb.zip
cpython-f3b33221046edcf508b807b79a2a5fbb1b66b9cb.tar.gz
cpython-f3b33221046edcf508b807b79a2a5fbb1b66b9cb.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 ........
-rw-r--r--Doc/install/index.rst10
-rw-r--r--Misc/NEWS6
2 files changed, 12 insertions, 4 deletions
diff --git a/Doc/install/index.rst b/Doc/install/index.rst
index 42f41a7..3646061 100644
--- a/Doc/install/index.rst
+++ b/Doc/install/index.rst
@@ -703,7 +703,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).
@@ -718,9 +719,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:
diff --git a/Misc/NEWS b/Misc/NEWS
index c971741..aa218c4 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -161,6 +161,12 @@ Build
- Issue 5390: Add uninstall icon independent of whether file
extensions are installed.
+Documenation
+------------
+
+- Issue #6556: Fixed the Distutils configuration files location explanation
+ for Windows.
+
Tests
-----