diff options
author | Fred Drake <fdrake@acm.org> | 2004-02-19 22:16:05 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2004-02-19 22:16:05 (GMT) |
commit | c54d9256fb2a5075c03920943b8aee3e4e196cd3 (patch) | |
tree | a61d359d1ce99f17f908861e5a2c2d9799d4cf96 /Doc/dist | |
parent | d3b33b5f6f6f1b09c1ec7832329c8307edcb82cf (diff) | |
download | cpython-c54d9256fb2a5075c03920943b8aee3e4e196cd3.zip cpython-c54d9256fb2a5075c03920943b8aee3e4e196cd3.tar.gz cpython-c54d9256fb2a5075c03920943b8aee3e4e196cd3.tar.bz2 |
minor markup improvements
Diffstat (limited to 'Doc/dist')
-rw-r--r-- | Doc/dist/dist.tex | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Doc/dist/dist.tex b/Doc/dist/dist.tex index 641c9e0..79cb395 100644 --- a/Doc/dist/dist.tex +++ b/Doc/dist/dist.tex @@ -1417,7 +1417,7 @@ python setup.py bdist --formats=wininst If you have a pure module distribution (only containing pure Python modules and packages), the resulting installer will be version independent and have a name like \file{foo-1.0.win32.exe}. These -installers can even be created on \UNIX{} or MacOS platforms. +installers can even be created on \UNIX{} or Mac OS platforms. If you have a non-pure distribution, the extensions can only be created on a Windows platform, and will be Python version dependent. @@ -1454,13 +1454,13 @@ script must be specified, and the script filename must also be listed in the scripts argument to the setup function. This script will be run at installation time on the target system -after all the files have been copied, with argv[1] set to '-install', -and again at uninstallation time before the files are removed with argv[1] -set to '-remove'. +after all the files have been copied, with \code{argv[1]} set to +\programopt{-install}, and again at uninstallation time before the +files are removed with \code{argv[1]} set to \programopt{-remove}. The installation script runs embedded in the windows installer, every -output (sys.stdout, sys.stderr) is redirected into a buffer and will -be displayed in the GUI after the script has finished. +output (\code{sys.stdout}, \code{sys.stderr}) is redirected into a +buffer and will be displayed in the GUI after the script has finished. Some functions especially useful in this context are available in the installation script. @@ -1502,11 +1502,11 @@ to the folder. 'csidl_string' must be one of the following strings: "CSIDL_FONTS" \end{verbatim} -If the folder cannot be retrieved, OSError is raised. +If the folder cannot be retrieved, \exception{OSError} is raised. Which folders are available depends on the exact Windows version, and probably also the configuration. For details refer to Microsoft's documentation of the -\code{SHGetSpecialFolderPath} function. +\cfunction{SHGetSpecialFolderPath()} function. \begin{verbatim} create_shortcut(target, description, filename[, arguments[, @@ -1522,7 +1522,7 @@ This function creates a shortcut. \var{iconpath} is the file containing the icon for the shortcut, and \var{iconindex} is the index of the icon in the file \var{iconpath}. Again, for details consult the Microsoft -documentation for the \code{IShellLink} interface. +documentation for the \class{IShellLink} interface. \section{Registering with the Package Index} \label{package-index} |