* Add test for defaults, fix platform detection * Improve correctness of reader.identifier with block * Fix options test to be multiplatform * 'Refactored by Sourcery' docs: write a section on overrides tests: test docker launches feat: add identifiers to launches test: add test for correct build step generation Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
17 lines
451 B
Python
17 lines
451 B
Python
from cibuildwheel.options import CommandLineArguments
|
|
|
|
|
|
def get_default_command_line_arguments() -> CommandLineArguments:
|
|
defaults = CommandLineArguments()
|
|
|
|
defaults.platform = "auto"
|
|
defaults.allow_empty = False
|
|
defaults.archs = None
|
|
defaults.config_file = None
|
|
defaults.output_dir = None
|
|
defaults.package_dir = "."
|
|
defaults.prerelease_pythons = False
|
|
defaults.print_build_identifiers = False
|
|
|
|
return defaults
|