@@ -57,7 +57,7 @@ built distributions, such as an RPM package or an executable installer for
5757Windows, is far more convenient for users even if your distribution doesn't
5858include any extensions.
5959
60- The :command: `bdist ` command has a :option: `--formats ` option, similar to the
60+ The :command: `bdist ` command has a :option: `! --formats ` option, similar to the
6161:command: `sdist ` command, which you can use to select the types of built
6262distribution to generate: for example, ::
6363
@@ -123,7 +123,7 @@ Notes:
123123 requires external :program: `rpm ` utility, version 3.0.4 or better (use ``rpm
124124 --version `` to find out which version you have)
125125
126- You don't have to use the :command: `bdist ` command with the :option: `--formats `
126+ You don't have to use the :command: `bdist ` command with the :option: `! --formats `
127127option; you can also use the command that directly implements the format you're
128128interested in. Some of these :command: `bdist ` "sub-commands" actually generate
129129several similar formats; for instance, the :command: `bdist_dumb ` command
@@ -174,7 +174,7 @@ The usual way to create an RPM of your module distribution is to run the
174174
175175 python setup.py bdist_rpm
176176
177- or the :command: `bdist ` command with the :option: `--format ` option::
177+ or the :command: `bdist ` command with the :option: `! --format ` option::
178178
179179 python setup.py bdist --formats=rpm
180180
@@ -249,7 +249,7 @@ configuration file, :file:`setup.cfg`\ ---see section :ref:`setup-config`. If
249249you distribute or package many Python module distributions, you might want to
250250put options that apply to all of them in your personal Distutils configuration
251251file (:file: `~/.pydistutils.cfg `). If you want to temporarily disable
252- this file, you can pass the :option: `--no-user-cfg ` option to :file: `setup.py `.
252+ this file, you can pass the :option: `! --no-user-cfg ` option to :file: `setup.py `.
253253
254254There are three steps to building a binary RPM package, all of which are
255255handled automatically by the Distutils:
@@ -267,10 +267,10 @@ Normally, RPM bundles the last two steps together; when you use the Distutils,
267267all three steps are typically bundled together.
268268
269269If you wish, you can separate these three steps. You can use the
270- :option: `--spec-only ` option to make :command: `bdist_rpm ` just create the
270+ :option: `! --spec-only ` option to make :command: `bdist_rpm ` just create the
271271:file: `.spec ` file and exit; in this case, the :file: `.spec ` file will be
272272written to the "distribution directory"---normally :file: `dist/ `, but
273- customizable with the :option: `--dist-dir ` option. (Normally, the :file: `.spec `
273+ customizable with the :option: `! --dist-dir ` option. (Normally, the :file: `.spec `
274274file winds up deep in the "build tree," in a temporary directory created by
275275:command: `bdist_rpm `.)
276276
@@ -307,7 +307,7 @@ is usually as easy as running::
307307
308308 python setup.py bdist_wininst
309309
310- or the :command: `bdist ` command with the :option: `--formats ` option::
310+ or the :command: `bdist ` command with the :option: `! --formats ` option::
311311
312312 python setup.py bdist --formats=wininst
313313
@@ -325,20 +325,20 @@ support.
325325The installer will try to compile pure modules into :term: `bytecode ` after installation
326326on the target system in normal and optimizing mode. If you don't want this to
327327happen for some reason, you can run the :command: `bdist_wininst ` command with
328- the :option: `--no-target-compile ` and/or the :option: `--no-target-optimize `
328+ the :option: `! --no-target-compile ` and/or the :option: `! --no-target-optimize `
329329option.
330330
331331By default the installer will display the cool "Python Powered" logo when it is
332332run, but you can also supply your own 152x261 bitmap which must be a Windows
333- :file: `.bmp ` file with the :option: `--bitmap ` option.
333+ :file: `.bmp ` file with the :option: `! --bitmap ` option.
334334
335335The installer will also display a large title on the desktop background window
336336when it is run, which is constructed from the name of your distribution and the
337337version number. This can be changed to another text by using the
338- :option: `--title ` option.
338+ :option: `! --title ` option.
339339
340340The installer file will be written to the "distribution directory" --- normally
341- :file: `dist/ `, but customizable with the :option: `--dist-dir ` option.
341+ :file: `dist/ `, but customizable with the :option: `! --dist-dir ` option.
342342
343343.. _cross-compile-windows :
344344
@@ -350,7 +350,7 @@ Windows platforms. In practice, this means that with the correct tools
350350installed, you can use a 32bit version of Windows to create 64bit extensions
351351and vice-versa.
352352
353- To build for an alternate platform, specify the :option: `--plat-name ` option
353+ To build for an alternate platform, specify the :option: `! --plat-name ` option
354354to the build command. Valid values are currently 'win32', 'win-amd64' and
355355'win-ia64'. For example, on a 32bit version of Windows, you could execute::
356356
@@ -383,14 +383,14 @@ The Postinstallation script
383383---------------------------
384384
385385Starting with Python 2.3, a postinstallation script can be specified with the
386- :option: `--install-script ` option. The basename of the script must be
386+ :option: `! --install-script ` option. The basename of the script must be
387387specified, and the script filename must also be listed in the scripts argument
388388to the setup function.
389389
390390This script will be run at installation time on the target system after all the
391- files have been copied, with ``argv[1] `` set to :option: `-install `, and again at
391+ files have been copied, with ``argv[1] `` set to :option: `! -install `, and again at
392392uninstallation time before the files are removed with ``argv[1] `` set to
393- :option: `-remove `.
393+ :option: `! -remove `.
394394
395395The installation script runs embedded in the windows installer, every output
396396(``sys.stdout ``, ``sys.stderr ``) is redirected into a buffer and will be
@@ -453,7 +453,7 @@ built-in functions in the installation script.
453453Vista User Access Control (UAC)
454454===============================
455455
456- Starting with Python 2.6, bdist_wininst supports a :option: `--user-access-control `
456+ Starting with Python 2.6, bdist_wininst supports a :option: `! --user-access-control `
457457option. The default is 'none' (meaning no UAC handling is done), and other
458458valid values are 'auto' (meaning prompt for UAC elevation if Python was
459459installed for all users) and 'force' (meaning always prompt for elevation).
0 commit comments