Avoid reference to specific versions of Python where possible.

This partially addresses SourceForge bug .
This commit is contained in:
Fred Drake 2000-09-14 18:25:41 +00:00
parent 933f0c38ef
commit 1fe3b82371
1 changed files with 4 additions and 4 deletions

View File

@ -39,10 +39,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 For example, suppose \code{sys.prefix} and \code{sys.exec_prefix} are
set to \file{/usr/local}. The Python \version\ library is then set to \file{/usr/local}. The Python \version\ library is then
installed in \file{/usr/local/lib/python1.5} (note that only the first installed in \file{/usr/local/lib/python\var{version}} (where
three characters of \code{sys.version} are used to form the path \var{version} is the first three characters of \code{sys.version}).
name). Suppose this has a subdirectory Suppose this has a subdirectory
\file{/usr/local/lib/python1.5/site-packages} with three \file{/usr/local/lib/python\var{version}/site-packages} with three
subsubdirectories, \file{foo}, \file{bar} and \file{spam}, and two subsubdirectories, \file{foo}, \file{bar} and \file{spam}, and two
path configuration files, \file{foo.pth} and \file{bar.pth}. Assume path configuration files, \file{foo.pth} and \file{bar.pth}. Assume
\file{foo.pth} contains the following: \file{foo.pth} contains the following: