From 4babf0dd1b64960f0e4214b8f06809f2ae051af4 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Tue, 1 Jun 2021 10:54:04 -0400 Subject: [PATCH 1/3] binary-extensions: add cibuildwheel and multibuild --- source/guides/packaging-binary-extensions.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/source/guides/packaging-binary-extensions.rst b/source/guides/packaging-binary-extensions.rst index 2a5a5ea879..0c7200ddef 100644 --- a/source/guides/packaging-binary-extensions.rst +++ b/source/guides/packaging-binary-extensions.rst @@ -232,6 +232,18 @@ guide includes an introduction to writing a Building binary extensions ========================== +Building extensions in CI +------------------------- + +If you plan to distribute your modules, you should provide builds for all the +platforms you intend to support. For most extensions, this is at least one +module per Python version times the number of OS and archetectures you support. +These are usually built on continous integration (CI) systems. There are tools +to help you build highly redistributable binaries from CI; these include +`cibuildwheel `__ and +`multibuild `__. + + Binary extensions for Windows ----------------------------- From 6a75b6baca051343e1194627d16e63ae6a9548d8 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 28 Jun 2021 09:28:40 -0400 Subject: [PATCH 2/3] Apply suggestions from code review Co-authored-by: Brian Rutledge --- source/guides/packaging-binary-extensions.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/source/guides/packaging-binary-extensions.rst b/source/guides/packaging-binary-extensions.rst index 0c7200ddef..5c8fc5fb85 100644 --- a/source/guides/packaging-binary-extensions.rst +++ b/source/guides/packaging-binary-extensions.rst @@ -232,16 +232,15 @@ guide includes an introduction to writing a Building binary extensions ========================== -Building extensions in CI +Building extensions for multiple platforms ------------------------- -If you plan to distribute your modules, you should provide builds for all the +If you plan to distribute your extension, you should provide :term:`wheels ` for all the platforms you intend to support. For most extensions, this is at least one -module per Python version times the number of OS and archetectures you support. +package per Python version times the number of OS and architectures you support. These are usually built on continous integration (CI) systems. There are tools to help you build highly redistributable binaries from CI; these include -`cibuildwheel `__ and -`multibuild `__. +:ref:`cibuildwheel` and :ref:`multibuild`. Binary extensions for Windows From b6ce977aa09da77c82e9b941e8cadab510358580 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Tue, 29 Jun 2021 15:37:58 -0400 Subject: [PATCH 3/3] fix: underline too short --- source/guides/packaging-binary-extensions.rst | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/source/guides/packaging-binary-extensions.rst b/source/guides/packaging-binary-extensions.rst index 5c8fc5fb85..856e867023 100644 --- a/source/guides/packaging-binary-extensions.rst +++ b/source/guides/packaging-binary-extensions.rst @@ -233,14 +233,15 @@ Building binary extensions ========================== Building extensions for multiple platforms -------------------------- - -If you plan to distribute your extension, you should provide :term:`wheels ` for all the -platforms you intend to support. For most extensions, this is at least one -package per Python version times the number of OS and architectures you support. -These are usually built on continous integration (CI) systems. There are tools -to help you build highly redistributable binaries from CI; these include -:ref:`cibuildwheel` and :ref:`multibuild`. +------------------------------------------ + +If you plan to distribute your extension, you should provide +:term:`wheels ` for all the platforms you intend to support. For most +extensions, this is at least one package per Python version times the number of +OS and architectures you support. These are usually built on continuous +integration (CI) systems. There are tools to help you build highly +redistributable binaries from CI; these include :ref:`cibuildwheel` and +:ref:`multibuild`. Binary extensions for Windows