2019-04-20 20:06:43 +02:00
|
|
|
import glob
|
|
|
|
|
import subprocess
|
|
|
|
|
import sys
|
|
|
|
|
|
|
|
|
|
build_identifiers = subprocess.check_output([sys.executable, '-m', 'cibuildwheel', '--print-build-identifiers'], universal_newlines=True).strip().split('\n')
|
2019-04-20 20:59:27 +02:00
|
|
|
expected_identifiers = [identifier for identifier in build_identifiers if 'macos' not in identifier and 'win' not in identifier]
|
2019-04-20 20:06:43 +02:00
|
|
|
built_wheels = glob.glob('wheelhouse/*.whl')
|
|
|
|
|
|
|
|
|
|
assert len(built_wheels) == len(expected_identifiers)
|