Fix misaligned triple-quote blocks

This commit is contained in:
mayeut
2021-05-03 13:12:36 -04:00
committed by Henry Schreiner
parent 178aaea6c7
commit d1900f6a05
21 changed files with 154 additions and 158 deletions
+17 -15
View File
@@ -101,9 +101,9 @@ def get_python_configurations(
log.warning( log.warning(
unwrap( unwrap(
''' '''
PyPy is currently unsupported when building on macOS 11. To build macOS PyPy wheels, PyPy is currently unsupported when building on macOS 11. To build macOS PyPy
build on an older OS, such as macOS 10.15. To silence this warning, deselect PyPy by wheels, build on an older OS, such as macOS 10.15. To silence this warning,
adding "pp*-macosx*" to your CIBW_SKIP option. deselect PyPy by adding "pp*-macosx*" to your CIBW_SKIP option.
''' '''
) )
) )
@@ -116,9 +116,9 @@ def get_python_configurations(
log.warning( log.warning(
unwrap( unwrap(
''' '''
CPython 3.5 is unsupported when building on macOS 11. To build CPython 3.5 wheels, CPython 3.5 is unsupported when building on macOS 11. To build CPython 3.5
build on an older OS, such as macOS 10.15. To silence this warning, deselect CPython wheels, build on an older OS, such as macOS 10.15. To silence this warning,
3.5 by adding "cp35-macosx_x86_64" to your CIBW_SKIP option. deselect CPython 3.5 by adding "cp35-macosx_x86_64" to your CIBW_SKIP option.
''' '''
) )
) )
@@ -465,10 +465,11 @@ def build(options: BuildOptions) -> None:
log.warning( log.warning(
unwrap( unwrap(
''' '''
While arm64 wheels can be built on x86_64, they cannot be tested. The While arm64 wheels can be built on x86_64, they cannot be
ability to test the arm64 wheels will be added in a future release of tested. The ability to test the arm64 wheels will be added in a
cibuildwheel, once Apple Silicon CI runners are widely available. To future release of cibuildwheel, once Apple Silicon CI runners
silence this warning, set `CIBW_TEST_SKIP: *-macosx_arm64`. are widely available. To silence this warning, set
`CIBW_TEST_SKIP: *-macosx_arm64`.
''' '''
) )
) )
@@ -476,11 +477,12 @@ def build(options: BuildOptions) -> None:
log.warning( log.warning(
unwrap( unwrap(
''' '''
While universal2 wheels can be built on x86_64, the arm64 part of them While universal2 wheels can be built on x86_64, the arm64 part
cannot currently be tested. The ability to test the arm64 part of a of them cannot currently be tested. The ability to test the
universal2 wheel will be added in a future release of cibuildwheel, once arm64 part of a universal2 wheel will be added in a future
Apple Silicon CI runners are widely available. To silence this warning, release of cibuildwheel, once Apple Silicon CI runners are
set `CIBW_TEST_SKIP: *-macosx_universal2:arm64`. widely available. To silence this warning, set
`CIBW_TEST_SKIP: *-macosx_universal2:arm64`.
''' '''
) )
) )
+2 -2
View File
@@ -8,7 +8,7 @@ from .test_projects import TestProject
cpp_test_project = TestProject() cpp_test_project = TestProject()
setup_py_template = r'''\ setup_py_template = r'''
from setuptools import Extension, setup from setuptools import Extension, setup
setup( setup(
@@ -18,7 +18,7 @@ setup(
) )
''' '''
spam_cpp_template = r'''\ spam_cpp_template = r'''
#include <Python.h> #include <Python.h>
{{ spam_cpp_top_level_add }} {{ spam_cpp_top_level_add }}
+3 -9
View File
@@ -13,22 +13,16 @@ def main():
parser.add_argument( parser.add_argument(
'--open', '--open',
action='store_true', action='store_true',
help=''' help='Open the generated project in a file explorer',
Open the generated project in a file explorer
''',
) )
parser.add_argument( parser.add_argument(
'PROJECT', 'PROJECT',
help=''' help='Python path to a project object. E.g. test.test_0_basic.basic_project',
Python path to a project object. E.g. test.test_0_basic.basic_project
''',
) )
parser.add_argument( parser.add_argument(
'OUTPUT', 'OUTPUT',
nargs='?', nargs='?',
help=''' help='Path to output dir. If no dir is passed, a tempdir will be generated.',
Path to output dir. If no dir is passed, a tempdir will be generated.
''',
) )
options = parser.parse_args() options = parser.parse_args()