[Python-checkins] python/dist/src/Doc/inst inst.tex,1.44,1.45
akuchling@users.sourceforge.net
akuchling@users.sourceforge.net
Mon, 25 Nov 2002 05:56:14 -0800
Update of /cvsroot/python/python/dist/src/Doc/inst
In directory sc8-pr-cvs1:/tmp/cvs-serv32493
Modified Files:
inst.tex
Log Message:
Mention that .pth files can't be used to override standard modules
(suggested by Jack Jansen)
Index: inst.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/inst/inst.tex,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** inst.tex 15 Nov 2002 02:52:44 -0000 1.44
--- inst.tex 25 Nov 2002 13:56:12 -0000 1.45
***************
*** 729,736 ****
\file{.../site-packages/} directory. Path configuration files have an
extension of \file{.pth}, and each line must contain a single path
! that will be added to \code{sys.path}. Paths can be absolute or
! relative, in which case they're relative to the directory containing
! the \file{.pth} file. Any directories added to the search path will
! be scanned in turn for \file{.pth} files. See
\citetitle[http://www.python.org/dev/doc/devel/lib/module-site.html]{the
documentation for the \module{site} module} for more information.
--- 729,740 ----
\file{.../site-packages/} directory. Path configuration files have an
extension of \file{.pth}, and each line must contain a single path
! that will be appended to \code{sys.path}. (Because the new paths are
! appended to \code{sys.path}, modules in the added directories will not
! override standard modules. This means you can't use this mechanism
! for installing fixed versions of standard modules.)
!
! Paths can be absolute or relative, in which case they're relative to
! the directory containing the \file{.pth} file. Any directories added
! to the search path will be scanned in turn for \file{.pth} files. See
\citetitle[http://www.python.org/dev/doc/devel/lib/module-site.html]{the
documentation for the \module{site} module} for more information.