Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c54d925

Browse files
committed
minor markup improvements
1 parent d3b33b5 commit c54d925

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

Doc/dist/dist.tex

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,7 +1417,7 @@ \subsection{Creating Windows Installers}
14171417
If you have a pure module distribution (only containing pure Python
14181418
modules and packages), the resulting installer will be version
14191419
independent and have a name like \file{foo-1.0.win32.exe}. These
1420-
installers can even be created on \UNIX{} or MacOS platforms.
1420+
installers can even be created on \UNIX{} or Mac OS platforms.
14211421

14221422
If you have a non-pure distribution, the extensions can only be
14231423
created on a Windows platform, and will be Python version dependent.
@@ -1454,13 +1454,13 @@ \subsubsection{The Postinstallation script}
14541454
in the scripts argument to the setup function.
14551455

14561456
This script will be run at installation time on the target system
1457-
after all the files have been copied, with argv[1] set to '-install',
1458-
and again at uninstallation time before the files are removed with argv[1]
1459-
set to '-remove'.
1457+
after all the files have been copied, with \code{argv[1]} set to
1458+
\programopt{-install}, and again at uninstallation time before the
1459+
files are removed with \code{argv[1]} set to \programopt{-remove}.
14601460

14611461
The installation script runs embedded in the windows installer, every
1462-
output (sys.stdout, sys.stderr) is redirected into a buffer and will
1463-
be displayed in the GUI after the script has finished.
1462+
output (\code{sys.stdout}, \code{sys.stderr}) is redirected into a
1463+
buffer and will be displayed in the GUI after the script has finished.
14641464

14651465
Some functions especially useful in this context are available in the
14661466
installation script.
@@ -1502,11 +1502,11 @@ \subsubsection{The Postinstallation script}
15021502
"CSIDL_FONTS"
15031503
\end{verbatim}
15041504

1505-
If the folder cannot be retrieved, OSError is raised.
1505+
If the folder cannot be retrieved, \exception{OSError} is raised.
15061506

15071507
Which folders are available depends on the exact Windows version, and probably
15081508
also the configuration. For details refer to Microsoft's documentation of the
1509-
\code{SHGetSpecialFolderPath} function.
1509+
\cfunction{SHGetSpecialFolderPath()} function.
15101510

15111511
\begin{verbatim}
15121512
create_shortcut(target, description, filename[, arguments[,
@@ -1522,7 +1522,7 @@ \subsubsection{The Postinstallation script}
15221522
\var{iconpath} is the file containing the icon for the shortcut,
15231523
and \var{iconindex} is the index of the icon in the file
15241524
\var{iconpath}. Again, for details consult the Microsoft
1525-
documentation for the \code{IShellLink} interface.
1525+
documentation for the \class{IShellLink} interface.
15261526

15271527
\section{Registering with the Package Index}
15281528
\label{package-index}

0 commit comments

Comments
 (0)