@@ -219,7 +219,7 @@ \subsection{How building works}
219219the files to install into a \emph {build directory }. By default, this is
220220\file {build} under the distribution root; if you're excessively
221221concerned with speed, or want to keep the source tree pristine, you can
222- change the build directory with the \option {-- build-base} option. For
222+ change the build directory with the \longprogramopt { build-base} option. For
223223example:
224224\begin {verbatim }
225225python setup.py build --build-base=/tmp/pybuild/foo-1.0
@@ -342,16 +342,16 @@ \subsection{How installation works}
342342 {Override option}
343343 \lineiii {pure module distribution}
344344 {\filevar {#1}\filenq {#2}}
345- {\option {-- install-purelib}}
345+ {\longprogramopt { install-purelib}}
346346 \lineiii {non-pure module distribution}
347347 {\filevar {#3}\filenq {#4}}
348- {\option {-- install-platlib}}
348+ {\longprogramopt { install-platlib}}
349349 \lineiii {scripts}
350350 {\filevar {#5}\filenq {#6}}
351- {\option {-- install-scripts}}
351+ {\longprogramopt { install-scripts}}
352352 \lineiii {data}
353353 {\filevar {#7}\filenq {#8}}
354- {\option {-- install-data}}
354+ {\longprogramopt { install-data}}
355355 \end {tableiii }}
356356
357357\section {Alternate Installation }
@@ -390,14 +390,14 @@ \subsection{Alternate installation: Unix (the home scheme)}
390390\begin {verbatim }
391391python setup.py install --home=<dir>
392392\end {verbatim }
393- where you can supply any directory you like for the \option {home}
393+ where you can supply any directory you like for the \longprogramopt {home}
394394option. Lazy typists can just type a tilde (\code {\tilde }); the
395395\command {install} command will expand this to your home directory:
396396\begin {verbatim }
397397python setup.py install --home=~
398398\end {verbatim }
399399
400- The \option {home} option defines the installation base directory. Files
400+ The \longprogramopt {home} option defines the installation base directory. Files
401401are installed to the following directories under the installation base
402402as follows:
403403\installscheme {home}{/lib/python}
@@ -438,27 +438,27 @@ \subsection{Alternate installation: Unix (the prefix scheme)}
438438/usr/local/bin/python setup.py install --prefix=/mnt/@server/export
439439\end {verbatim }
440440
441- In either case, the \option {prefix} option defines the installation
442- base, and the \option {exec-prefix} option defines the platform-specific
441+ In either case, the \longprogramopt {prefix} option defines the installation
442+ base, and the \longprogramopt {exec-prefix} option defines the platform-specific
443443installation base, which is used for platform-specific files.
444444(Currently, this just means non-pure module distributions, but could be
445445expanded to C libraries, binary executables, etc.) If
446- \option {exec-prefix} is not supplied, it defaults to \option {prefix}.
446+ \longprogramopt {exec-prefix} is not supplied, it defaults to \longprogramopt {prefix}.
447447Files are installed as follows:
448448
449449\installscheme {prefix}{/lib/python1.\filevar {X}/site-packages}
450450 {exec-prefix}{/lib/python1.\filevar {X}/site-packages}
451451 {prefix}{/bin}
452452 {prefix}{/share}
453453
454- There is no requirement that \option {prefix} or \option {exec-prefix}
454+ There is no requirement that \longprogramopt {prefix} or \longprogramopt {exec-prefix}
455455actually point to an alternate Python installation; if the directories
456456listed above do not already exist, they are created at installation
457457time.
458458
459459Incidentally, the real reason the prefix scheme is important is simply
460460that a standard Unix installation uses the prefix scheme, but with
461- \option {prefix} and \option {exec-prefix} supplied by Python itself (as
461+ \longprogramopt {prefix} and \longprogramopt {exec-prefix} supplied by Python itself (as
462462\code {sys.prefix} and \code {sys.exec\_ prefix}). Thus, you might think
463463you'll never use the prefix scheme, but every time you run \code {python
464464 setup.py install} without any other options, you're using it.
@@ -472,7 +472,7 @@ \subsection{Alternate installation: Unix (the prefix scheme)}
472472interpreter used to build them. The best way to do this is to ensure
473473that the two interpreters are the same version of Python (possibly
474474different builds, or possibly copies of the same build). (Of course, if
475- your \option {prefix} and \option {exec-prefix} don't even point to an
475+ your \longprogramopt {prefix} and \longprogramopt {exec-prefix} don't even point to an
476476alternate Python installation, this is immaterial.)
477477
478478
@@ -481,17 +481,17 @@ \subsection{Alternate installation: Windows}
481481
482482Since Windows has no conception of a user's home directory, and since
483483the standard Python installation under Windows is simpler than that
484- under Unix, there's no point in having separate \option {prefix} and
485- \option {home} options. Just use the \option {prefix} option to specify
484+ under Unix, there's no point in having separate \longprogramopt {prefix} and
485+ \longprogramopt {home} options. Just use the \longprogramopt {prefix} option to specify
486486a base directory, e.g.
487487\begin {verbatim }
488488python setup.py install --prefix="\Temp\Python"
489489\end {verbatim }
490490to install modules to the \file {\bslash {}Temp} directory on the current
491491drive.
492492
493- The installation base is defined by the \option {prefix} option; the
494- \option {exec-prefix} option is not supported under Windows. Files are
493+ The installation base is defined by the \longprogramopt {prefix} option; the
494+ \longprogramopt {exec-prefix} option is not supported under Windows. Files are
495495installed as follows:
496496\installscheme {prefix}{}
497497 {prefix}{}
@@ -504,7 +504,7 @@ \subsection{Alternate installation: Mac~OS}
504504
505505Like Windows, Mac~OS has no notion of home directories (or even of
506506users), and a fairly simple standard Python installation. Thus, only a
507- \option {prefix} option is needed. It defines the installation base, and
507+ \longprogramopt {prefix} option is needed. It defines the installation base, and
508508files are installed under it as follows:
509509
510510\XXX {how do MacPython users run the interpreter with command-line args?}
@@ -541,14 +541,14 @@ \section{Custom Installation}
541541be relative, absolute, or explicitly defined in terms of one of the
542542installation base directories. (There are two installation base
543543directories, and they are normally the same---they only differ when you
544- use the Unix `` prefix scheme'' and supply different \option {prefix} and
545- \option {exec-prefix} options.)
544+ use the Unix `` prefix scheme'' and supply different \longprogramopt {prefix} and
545+ \longprogramopt {exec-prefix} options.)
546546
547547For example, say you're installing a module distribution to your home
548548directory under Unix---but you want scripts to go in
549549\file {\tilde /scripts} rather than \file {\tilde /bin}. As you might
550550expect, you can override this directory with the
551- \option {install-scripts} option; in this case, it makes most sense to
551+ \longprogramopt {install-scripts} option; in this case, it makes most sense to
552552supply a relative path, which will be interpreted relative to the
553553installation base directory (your home directory, in this case):
554554\begin {verbatim }
@@ -559,7 +559,7 @@ \section{Custom Installation}
559559installed with a prefix of \file {/usr/local/python}, so under a standard
560560installation scripts will wind up in \file {/usr/local/python/bin}. If
561561you want them in \file {/usr/local/bin} instead, you would supply this
562- absolute directory for the \option {install-scripts} option:
562+ absolute directory for the \longprogramopt {install-scripts} option:
563563\begin {verbatim }
564564python setup.py install --install-scripts=/usr/local/bin
565565\end {verbatim }
0 commit comments