@@ -57,7 +57,7 @@ built distributions, such as an RPM package or an executable installer for
57
57
Windows, is far more convenient for users even if your distribution doesn't
58
58
include any extensions.
59
59
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
61
61
:command: `sdist ` command, which you can use to select the types of built
62
62
distribution to generate: for example, ::
63
63
@@ -123,7 +123,7 @@ Notes:
123
123
requires external :program: `rpm ` utility, version 3.0.4 or better (use ``rpm
124
124
--version `` to find out which version you have)
125
125
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 `
127
127
option; you can also use the command that directly implements the format you're
128
128
interested in. Some of these :command: `bdist ` "sub-commands" actually generate
129
129
several 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
174
174
175
175
python setup.py bdist_rpm
176
176
177
- or the :command: `bdist ` command with the :option: `--format ` option::
177
+ or the :command: `bdist ` command with the :option: `! --format ` option::
178
178
179
179
python setup.py bdist --formats=rpm
180
180
@@ -249,7 +249,7 @@ configuration file, :file:`setup.cfg`\ ---see section :ref:`setup-config`. If
249
249
you distribute or package many Python module distributions, you might want to
250
250
put options that apply to all of them in your personal Distutils configuration
251
251
file (: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 `.
253
253
254
254
There are three steps to building a binary RPM package, all of which are
255
255
handled automatically by the Distutils:
@@ -267,10 +267,10 @@ Normally, RPM bundles the last two steps together; when you use the Distutils,
267
267
all three steps are typically bundled together.
268
268
269
269
If 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
271
271
:file: `.spec ` file and exit; in this case, the :file: `.spec ` file will be
272
272
written 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 `
274
274
file winds up deep in the "build tree," in a temporary directory created by
275
275
:command: `bdist_rpm `.)
276
276
@@ -307,7 +307,7 @@ is usually as easy as running::
307
307
308
308
python setup.py bdist_wininst
309
309
310
- or the :command: `bdist ` command with the :option: `--formats ` option::
310
+ or the :command: `bdist ` command with the :option: `! --formats ` option::
311
311
312
312
python setup.py bdist --formats=wininst
313
313
@@ -325,20 +325,20 @@ support.
325
325
The installer will try to compile pure modules into :term: `bytecode ` after installation
326
326
on the target system in normal and optimizing mode. If you don't want this to
327
327
happen 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 `
329
329
option.
330
330
331
331
By default the installer will display the cool "Python Powered" logo when it is
332
332
run, 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.
334
334
335
335
The installer will also display a large title on the desktop background window
336
336
when it is run, which is constructed from the name of your distribution and the
337
337
version number. This can be changed to another text by using the
338
- :option: `--title ` option.
338
+ :option: `! --title ` option.
339
339
340
340
The 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.
342
342
343
343
.. _cross-compile-windows :
344
344
@@ -350,7 +350,7 @@ Windows platforms. In practice, this means that with the correct tools
350
350
installed, you can use a 32bit version of Windows to create 64bit extensions
351
351
and vice-versa.
352
352
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
354
354
to the build command. Valid values are currently 'win32', 'win-amd64' and
355
355
'win-ia64'. For example, on a 32bit version of Windows, you could execute::
356
356
@@ -383,14 +383,14 @@ The Postinstallation script
383
383
---------------------------
384
384
385
385
Starting 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
387
387
specified, and the script filename must also be listed in the scripts argument
388
388
to the setup function.
389
389
390
390
This 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
392
392
uninstallation time before the files are removed with ``argv[1] `` set to
393
- :option: `-remove `.
393
+ :option: `! -remove `.
394
394
395
395
The installation script runs embedded in the windows installer, every output
396
396
(``sys.stdout ``, ``sys.stderr ``) is redirected into a buffer and will be
@@ -453,7 +453,7 @@ built-in functions in the installation script.
453
453
Vista User Access Control (UAC)
454
454
===============================
455
455
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 `
457
457
option. The default is 'none' (meaning no UAC handling is done), and other
458
458
valid values are 'auto' (meaning prompt for UAC elevation if Python was
459
459
installed for all users) and 'force' (meaning always prompt for elevation).
0 commit comments