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/python\version/site-packages} with three
+subdirectory \file{/usr/local/lib/python\version/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:
order:
\begin{verbatim}
-/usr/local/python1.5/site-packages/bar
-/usr/local/python1.5/site-packages/foo
+/usr/local/lib/python1.5/site-packages/bar
+/usr/local/lib/python1.5/site-packages/foo
\end{verbatim}
Note that \file{bletch} is omitted because it doesn't exist; the
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/python\version/site-packages} with three
+subdirectory \file{/usr/local/lib/python\version/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:
order:
\begin{verbatim}
-/usr/local/python1.5/site-packages/bar
-/usr/local/python1.5/site-packages/foo
+/usr/local/lib/python1.5/site-packages/bar
+/usr/local/lib/python1.5/site-packages/foo
\end{verbatim}
Note that \file{bletch} is omitted because it doesn't exist; the