@@ -44,7 +44,7 @@ The following component plugins are included as standard with
44
44
installed on :envvar: `PATH `.
45
45
46
46
**pip **
47
- This is a meta-component which can install any number of components that
47
+ This is a meta-component which will install any number of components that
48
48
can be installed by ``pip ``.
49
49
50
50
**pyqt3d **
@@ -154,7 +154,7 @@ The Python binary installer for macOS from `www.python.org <www.python.org>`__
154
154
includes a patched version of OpenSSL. The plugin will apply the same patch to
155
155
OpenSSL (on macOS only) if a Python source archive is specified. The patch
156
156
applies to a specific version of OpenSSL - which one depends on the version of
157
- Python.
157
+ Python being targeted .
158
158
159
159
160
160
qt5
@@ -200,8 +200,8 @@ the MSVC runtime libraries.
200
200
201
201
For simplicity we have chosen to build a full Qt implementation when building
202
202
from source. We could have chosen to use the ``configure_options ``,
203
- ``disabled_features `` and ``skip `` attributes to tailor the Qt build into to
204
- reduce the time taken to do the build.
203
+ ``disabled_features `` and ``skip `` attributes to tailor the Qt build in order
204
+ to reduce the time taken to do the build.
205
205
206
206
207
207
python
@@ -216,11 +216,11 @@ python
216
216
},
217
217
218
218
The Python component plugin handles installation for both host and target
219
- architectures. For the host we choose to use an existing Python installation.
220
- On Windows the registry is searched for the location of the existing
221
- installation. On Linux and macOS the Python interpreter must be on
222
- :envvar: `PATH `. For all target architecures we choose to build Python from
223
- source.
219
+ architectures. For the host we choose to use an existing Python installation
220
+ rather than build from source. On Windows the registry is searched for the
221
+ location of the existing installation. On Linux and macOS the Python
222
+ interpreter must be on :envvar: `PATH `. For all target architecures we choose
223
+ to build Python from source.
224
224
225
225
:program: `pyqt-demo ` is a very simple application that does not need to
226
226
dynamically load extension modules. If this was needed then the
@@ -284,8 +284,8 @@ The two attributes used to tailor the build of PyQt5 are ``disabled_features``
284
284
and ``modules ``.
285
285
286
286
Unfortunately the list of features that can be disabled is not properly
287
- documented and relate to how Qt5 was configured. However how the attribute is
288
- set in the above will be appropriate for most cases.
287
+ documented and relate to how Qt5 was configured. However how
288
+ `` disabled_features `` is set in the above will be appropriate for most cases.
289
289
290
290
The ``modules `` attribute is used to specify the names of the individual PyQt
291
291
extension modules to be built. We choose to build only those extension
@@ -373,7 +373,7 @@ The full set of command line options is:
373
373
A temporary build directory (called ``build `` in the sysroot) is created in
374
374
order to build the required components. Normally this is removed
375
375
automatically after all components have been built. Specifying this option
376
- leaves the build directory as it is to make debugging component plugins
376
+ leaves the build directory in place to make debugging component plugins
377
377
easier.
378
378
379
379
.. option :: --options
@@ -386,8 +386,8 @@ The full set of command line options is:
386
386
``DIR `` is added to the list of directories that are searched for component
387
387
plugins. It may be used more than once to search multiple directories.
388
388
All directories specified in this way will be searched before those
389
- directories (internal to :program: `pyqtdeploy-sysroot `) searched by
390
- default.
389
+ directories (internal to :program: `pyqtdeploy-sysroot `) that are searched
390
+ by default.
391
391
392
392
.. option :: --source-dir DIR
393
393
@@ -516,12 +516,13 @@ class is.
516
516
.. py :method :: copy_dir(src, dst, ignore = None )
517
517
518
518
A directory is copied, optionally excluding file and sub-directories
519
- that match a number of patterns. If the destination directory already
520
- exists then it is first removed. Any errors are handled automatically.
519
+ that match a number of glob patterns. If the destination directory
520
+ already exists then it is first removed. Any errors are handled
521
+ automatically.
521
522
522
523
:param str src: is the name of the source directory.
523
524
:param str dst: is the name of the destination directory.
524
- :param list[str] ignore: is an optional sequence of patterns that
525
+ :param list[str] ignore: is an optional sequence of glob patterns that
525
526
specify files and sub-directories that should be ignored.
526
527
527
528
.. py :method :: create_file(name)
@@ -538,13 +539,13 @@ class is.
538
539
already exist then it is optionally emptied. Any errors are handled
539
540
automatically.
540
541
541
- :param str name: is the name of the directory
542
+ :param str name: is the name of the directory.
542
543
:param bool empty: ``True `` if an existing directory should be emptied.
543
544
544
545
.. py :method :: decode_version_nr(version_nr)
545
546
546
547
An encoded version number is decoded to a 3-tuple of major version,
547
- minor version and maintenance version.
548
+ minor version and patch version.
548
549
549
550
:param int version_nr: is the encoded version number.
550
551
:return: the decoded 3-tuple.
@@ -686,7 +687,7 @@ class is.
686
687
687
688
Convert a string in the form [M[.m[.p]]] to an encoded version number.
688
689
689
- :param str version_str] is the version number to parse.
690
+ :param str version_str: is the version number to parse.
690
691
:return: an encoded version number.
691
692
692
693
.. py :method :: pip_install(package)
@@ -779,7 +780,7 @@ class is.
779
780
780
781
.. py :method :: unpack_archive(archive, chdir = True )
781
782
782
- An archive (i.e . a ``.tar.gz `` or ``.zip `` file) is unpacked in the
783
+ An archive (e.g . a ``.tar.gz `` or ``.zip `` file) is unpacked in the
783
784
current directory.
784
785
785
786
:param str archive: the name of the archive.
0 commit comments