File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 1111build_matrix = wheel_config ['jobs' ]['build_wheels' ]['strategy' ]['matrix' ]
1212n_python_versions = len (build_matrix ['python' ])
1313
14- # For each python version we have: 6 wheels
14+ # For each python version we have: 5 wheels
1515# 1 osx wheel (x86_64)
16- # 3 linux wheel (i686 + x86_64 + arm64 )
16+ # 2 linux wheel (i686 + x86_64)
1717# 2 windows wheel (win32 + wind_amd64)
18- n_wheels = 6 * n_python_versions
18+ n_wheels = 5 * n_python_versions
1919
2020# plus one more for the sdist
2121n_wheels += 1
2222
23+ # aarch64 builds from travis
24+ travis_config_path = Path .cwd () / ".travis.yml"
25+ with travis_config_path .open ('r' ) as f :
26+ travis_config = yaml .safe_load (f )
27+
28+ jobs = travis_config ['jobs' ]['include' ]
29+ travis_builds = [j for j in jobs
30+ if any ("CIBW_BUILD" in env for env in j ["env" ])]
31+ n_wheels += len (travis_builds )
32+
2333dist_files = list (Path ("dist" ).glob ('**/*' ))
2434n_dist_files = len (dist_files )
2535
You can’t perform that action at this time.
0 commit comments