summaryrefslogtreecommitdiff
path: root/Doc/lib/libsite.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-04-09 14:12:11 +0000
committerFred Drake <fdrake@acm.org>1998-04-09 14:12:11 +0000
commit7cc16041fcaad05a31f0e84b8cf93ddec4c335f0 (patch)
treecd989d240703dc9d64aceb7f09d30a488344c976 /Doc/lib/libsite.tex
parent1699d3472a2c97dfd8fae3d715e78dd10c2a3ca2 (diff)
downloadcpython-7cc16041fcaad05a31f0e84b8cf93ddec4c335f0.tar.gz
Don't assume that \version expands to the 3-character major.minor number; it
is the full release version name ("1.5.1beta1", for instance).
Diffstat (limited to 'Doc/lib/libsite.tex')
-rw-r--r--Doc/lib/libsite.tex6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/lib/libsite.tex b/Doc/lib/libsite.tex
index 5ddbe8a36a..84b1e64048 100644
--- a/Doc/lib/libsite.tex
+++ b/Doc/lib/libsite.tex
@@ -36,8 +36,10 @@ refers to a directory (rather than a file). No item is added to
For example, suppose \code{sys.prefix} and \code{sys.exec_prefix} are
set to \file{/usr/local}. The Python \version\ library is then
-installed in \file{/usr/local/lib/python\version}. Suppose this has a
-subdirectory \file{/usr/local/lib/python\version/site-packages} with three
+installed in \file{/usr/local/lib/python1.5} (note that only the first
+three characters of \code{sys.version} are used to form the path
+name). Suppose this has a subdirectory
+\file{/usr/local/lib/python1.5/site-packages} with three
subsubdirectories, \file{foo}, \file{bar} and \file{spam}, and two
path configuration files, \file{foo.pth} and \file{bar.pth}. Assume
\file{foo.pth} contains the following: