diff options
author | Fred Drake <fdrake@acm.org> | 1998-04-09 14:12:11 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-04-09 14:12:11 (GMT) |
commit | 2de75ec245adbe0cc5e6fa831935db4b85a47a42 (patch) | |
tree | 6e00704c42a345abf13a050c78c50cff19c5996b /Doc/lib/libsite.tex | |
parent | 9da38814a3d5e81f535396fd731b1fbbd4970af5 (diff) | |
download | cpython-2de75ec245adbe0cc5e6fa831935db4b85a47a42.zip cpython-2de75ec245adbe0cc5e6fa831935db4b85a47a42.tar.gz cpython-2de75ec245adbe0cc5e6fa831935db4b85a47a42.tar.bz2 |
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.tex | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/lib/libsite.tex b/Doc/lib/libsite.tex index 5ddbe8a..84b1e64 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: |