mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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:
parent
9da38814a3
commit
2de75ec245
6 changed files with 14 additions and 10 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue