Merge pull request #3352 from jepler/fix-release-build

shared_bindings_matrix revert to using shared-bindings
This commit is contained in:
Jeff Epler 2020-09-07 16:13:53 -05:00 committed by GitHub
commit 540e6d4285
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -43,8 +43,8 @@ def get_circuitpython_root_dir():
def get_shared_bindings():
""" Get a list of modules in shared-bindings based on folder names
"""
shared_bindings_dir = get_circuitpython_root_dir() / "circuitpython-stubs"
return [item.name for item in shared_bindings_dir.iterdir()]
shared_bindings_dir = get_circuitpython_root_dir() / "shared-bindings"
return [item.name for item in shared_bindings_dir.iterdir()] + ["ulab"]
def read_mpconfig():
@ -159,6 +159,8 @@ def support_matrix_by_board(use_branded_name=True):
board_contents)
if board_name_re:
board_name = board_name_re.group(1).strip('"')
else:
board_name = entry.name
board_modules = []
for module in base: