From 2da8e129360b7186ffa9357a84fdb791d66613df Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Fri, 12 Feb 2021 10:31:27 -0500 Subject: [PATCH] fix: empty CIBW_BUILD still counts as "*" (#588) --- cibuildwheel/__main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cibuildwheel/__main__.py b/cibuildwheel/__main__.py index beda906d..3ed4c383 100644 --- a/cibuildwheel/__main__.py +++ b/cibuildwheel/__main__.py @@ -147,7 +147,8 @@ def main() -> None: else: assert_never(platform) - build_config, skip_config = os.environ.get('CIBW_BUILD', '*'), os.environ.get('CIBW_SKIP', '') + build_config = os.environ.get('CIBW_BUILD') or '*' + skip_config = os.environ.get('CIBW_SKIP', '') test_skip = os.environ.get('CIBW_TEST_SKIP', '') environment_config = get_option_from_environment('CIBW_ENVIRONMENT', platform=platform, default='') before_all = get_option_from_environment('CIBW_BEFORE_ALL', platform=platform, default='')