[Python-checkins] python/dist/src/Doc/inst inst.tex,1.53,1.54
fdrake at users.sourceforge.net
fdrake at users.sourceforge.net
Fri Jun 25 19:03:16 EDT 2004
Update of /cvsroot/python/python/dist/src/Doc/inst
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18122/Doc/inst
Modified Files:
inst.tex
Log Message:
Make distutils "install --home" support all platforms.
Index: inst.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/inst/inst.tex,v
retrieving revision 1.53
retrieving revision 1.54
diff -C2 -d -r1.53 -r1.54
*** inst.tex 26 Jan 2004 15:07:31 -0000 1.53
--- inst.tex 25 Jun 2004 23:02:42 -0000 1.54
***************
*** 385,399 ****
! \subsection{Alternate installation: \UNIX{} (the home scheme)}
\label{alt-install-prefix}
- Under \UNIX, there are two ways to perform an alternate installation.
- The ``prefix scheme'' is similar to how alternate installation works
- under Windows and Mac OS, but is not necessarily the most useful way to
- maintain a personal Python library. Hence, we document the more
- convenient and commonly useful ``home scheme'' first.
-
The idea behind the ``home scheme'' is that you build and maintain a
! personal stash of Python modules, probably under your home directory.
Installing a new module distribution is as simple as
--- 385,398 ----
! \subsection{Alternate installation: the home scheme}
\label{alt-install-prefix}
The idea behind the ``home scheme'' is that you build and maintain a
! personal stash of Python modules. This scheme's name is derived from
! the idea of a ``home'' directory on \UNIX, since it's not unusual for
! a \UNIX{} user to make their home directory have a layout similar to
! \file{/usr/} or \file{/usr/local/}. This scheme can be used by
! anyone, regardless of the operating system their installing for.
!
Installing a new module distribution is as simple as
***************
*** 402,408 ****
\end{verbatim}
! where you can supply any directory you like for the \longprogramopt{home}
! option. Lazy typists can just type a tilde (\code{\textasciitilde}); the
! \command{install} command will expand this to your home directory:
\begin{verbatim}
--- 401,408 ----
\end{verbatim}
! where you can supply any directory you like for the
! \longprogramopt{home} option. On \UNIX, lazy typists can just type a
! tilde (\code{\textasciitilde}); the \command{install} command will
! expand this to your home directory:
\begin{verbatim}
***************
*** 418,421 ****
--- 418,426 ----
{home}{/share}
+
+ \versionchanged[The \longprogramopt{home} option used to be supported
+ only on \UNIX]{2.4}
+
+
\subsection{Alternate installation: \UNIX{} (the prefix scheme)}
\label{alt-install-home}
***************
*** 492,503 ****
! \subsection{Alternate installation: Windows}
\label{alt-install-windows}
! Since Windows has no conception of a user's home directory, and since
! the standard Python installation under Windows is simpler than that
! under \UNIX, there's no point in having separate \longprogramopt{prefix}
! and \longprogramopt{home} options. Just use the \longprogramopt{prefix}
! option to specify a base directory, e.g.
\begin{verbatim}
--- 497,507 ----
! \subsection{Alternate installation: Windows (the prefix scheme)}
\label{alt-install-windows}
! Windows has no concept of a user's home directory, and since the
! standard Python installation under Windows is simpler than under
! \UNIX, the \longprogramopt{prefix} option has traditionally been used
! to install additional packages in separate locations on Windows.
\begin{verbatim}
More information about the Python-checkins
mailing list