10 lines
429 B
Python
10 lines
429 B
Python
import glob
|
|
import subprocess
|
|
import sys
|
|
|
|
build_identifiers = subprocess.check_output([sys.executable, '-m', 'cibuildwheel', '--print-build-identifiers'], universal_newlines=True).strip().split('\n')
|
|
expected_identifiers = [identifier for identifier in build_identifiers if 'macos' not in identifier and 'win' not in identifier]
|
|
built_wheels = glob.glob('wheelhouse/*.whl')
|
|
|
|
assert len(built_wheels) == len(expected_identifiers)
|