\subsection{Best case: trivial installation}
-\label{trivial-inst}
+\label{trivial-install}
In the best case, someone will have prepared a special version of the
module distribution you want to install that is targeted specifically at
\section{Standard Build and Install}
-\label{normal-install}
+\label{standard-install}
As described in section~\ref{new-standard}, building and installing
a module distribution using the Distutils is usually one simple command:
\subsection{Platform variations}
+\label{platform-variations}
You should always run the setup command from the distribution root
directory, i.e. the top-level subdirectory that the module source
\subsection{Splitting the job up}
+\label{splitting-up}
Running \code{setup.py install} builds and installs all modules in one
run. If you prefer to work incrementally---especially useful if you
\subsection{How building works}
+\label{how-build-works}
As implied above, the \command{build} command is responsible for putting
the files to install into a \emph{build directory}. By default, this is
\subsection{How installation works}
+\label{how-install-works}
After the \command{build} command runs (whether you run it explicitly,
or the \command{install} command does it for you), the work of the
\subsection{Alternate installation: Unix (the home scheme)}
-\label{alt-unix-prefix}
+\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
{home}{/share}
\subsection{Alternate installation: Unix (the prefix scheme)}
-\label{alt-unix-home}
+\label{alt-install-home}
The ``prefix scheme'' is useful when you wish to use one Python
installation to perform the build/install (i.e., to run the setup
\subsection{Alternate installation: Windows}
-\label{alt-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
\subsection{Alternate installation: Mac~OS}
-\label{alt-macos}
+\label{alt-install-macos}
Like Windows, Mac~OS has no notion of home directories (or even of
users), and a fairly simple standard Python installation. Thus, only a