mirror of https://github.com/python/cpython
bug [ 1190204 ] 3.29 site is confusing re site-packages on Windows
This commit is contained in:
parent
6f2bbd353b
commit
79c122f568
|
@ -17,8 +17,8 @@ It starts by constructing up to four directories from a head and a
|
|||
tail part. For the head part, it uses \code{sys.prefix} and
|
||||
\code{sys.exec_prefix}; empty heads are skipped. For
|
||||
the tail part, it uses the empty string (on Windows) or
|
||||
it uses first \file{lib/python\shortversion/site-packages} and then
|
||||
\file{lib/site-python} (on \UNIX and Macintosh). For each of the distinct
|
||||
\file{lib/python\shortversion/site-packages} (on \UNIX{} and Macintosh)
|
||||
and then \file{lib/site-python}. For each of the distinct
|
||||
head-tail combinations, it sees if it refers to an existing directory,
|
||||
and if so, adds it to \code{sys.path} and also inspects the newly added
|
||||
path for configuration files.
|
||||
|
|
Loading…
Reference in New Issue