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).
This commit is contained in:
Fred Drake 1998-04-09 14:12:11 +00:00
parent 9da38814a3
commit 2de75ec245
6 changed files with 14 additions and 10 deletions

View file

@ -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: