A few docs fixes
This commit is contained in:
+9
-8
@@ -276,7 +276,6 @@ CIBW_BEFORE_BUILD: "{package}/script/prepare_for_build.sh"
|
|||||||
!!! note
|
!!! note
|
||||||
If you need dependencies installed for the build, we recommend using pyproject.toml. This is an example pyproject.toml file:
|
If you need dependencies installed for the build, we recommend using pyproject.toml. This is an example pyproject.toml file:
|
||||||
|
|
||||||
```toml
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = [
|
requires = [
|
||||||
"setuptools>=42",
|
"setuptools>=42",
|
||||||
@@ -289,7 +288,6 @@ CIBW_BEFORE_BUILD: "{package}/script/prepare_for_build.sh"
|
|||||||
]
|
]
|
||||||
|
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
```
|
|
||||||
|
|
||||||
This [PEP 517][]/[PEP 518][] style build allows you to completely control the
|
This [PEP 517][]/[PEP 518][] style build allows you to completely control the
|
||||||
build environment in cibuildwheel, [PyPA-build][], and pip, doesn't force
|
build environment in cibuildwheel, [PyPA-build][], and pip, doesn't force
|
||||||
@@ -554,7 +552,7 @@ CIBW_BUILD_VERBOSITY: 1
|
|||||||
```text
|
```text
|
||||||
usage: cibuildwheel [-h] [--platform {auto,linux,macos,windows}]
|
usage: cibuildwheel [-h] [--platform {auto,linux,macos,windows}]
|
||||||
[--archs ARCHS] [--output-dir OUTPUT_DIR]
|
[--archs ARCHS] [--output-dir OUTPUT_DIR]
|
||||||
[--print-build-identifiers]
|
[--print-build-identifiers] [--allow-empty]
|
||||||
[package_dir]
|
[package_dir]
|
||||||
|
|
||||||
Build wheels for all the platforms.
|
Build wheels for all the platforms.
|
||||||
@@ -577,16 +575,19 @@ optional arguments:
|
|||||||
you need to run in Windows, and it will build and test
|
you need to run in Windows, and it will build and test
|
||||||
for all versions of Python. Default: auto.
|
for all versions of Python. Default: auto.
|
||||||
--archs ARCHS Comma-separated list of CPU architectures to build
|
--archs ARCHS Comma-separated list of CPU architectures to build
|
||||||
for. If unspecified, builds the architectures natively
|
for. When set to 'auto', builds the architectures
|
||||||
supported on this machine. Set this option to build an
|
natively supported on this machine. Set this option to
|
||||||
architecture via emulation, for example, using
|
build an architecture via emulation, for example,
|
||||||
binfmt_misc and qemu. Default: auto Choices: auto,
|
using binfmt_misc and QEMU. Default: auto. Choices:
|
||||||
x86_64, i686, aarch64, ppc64le, s390x, x86, AMD64
|
auto, native, all, x86_64, i686, aarch64, ppc64le,
|
||||||
|
s390x, x86, AMD64
|
||||||
--output-dir OUTPUT_DIR
|
--output-dir OUTPUT_DIR
|
||||||
Destination folder for the wheels.
|
Destination folder for the wheels.
|
||||||
--print-build-identifiers
|
--print-build-identifiers
|
||||||
Print the build identifiers matched by the current
|
Print the build identifiers matched by the current
|
||||||
invocation and exit.
|
invocation and exit.
|
||||||
|
--allow-empty Do not report an error code if the build does not
|
||||||
|
match any wheels.
|
||||||
```
|
```
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|||||||
+1
-1
@@ -44,7 +44,7 @@ To build Linux, Mac, and Windows wheels on Travis CI, create a `.travis.yml` fil
|
|||||||
{% include "../examples/travis-ci-minimal.yml" %}
|
{% include "../examples/travis-ci-minimal.yml" %}
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that building Windows Python 2.7 wheels on Travis is unsupported unless using a newer compiler [via a workaround](cpp-standards.md).
|
Note that building Windows Python 2.7 wheels on Travis is unsupported unless using a newer compiler [via a workaround](cpp_standards.md).
|
||||||
|
|
||||||
Commit this file, enable building of your repo on Travis CI, and push.
|
Commit this file, enable building of your repo on Travis CI, and push.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user