diff --git a/circuitpython_build_tools/build.py b/circuitpython_build_tools/build.py index f884a1c..7c0fa25 100644 --- a/circuitpython_build_tools/build.py +++ b/circuitpython_build_tools/build.py @@ -39,7 +39,7 @@ # pyproject.toml `py_modules` values that are incorrect. These should all have PRs filed! # and should be removed when the fixed version is incorporated in its respective bundle. -pyproject_py_modules_blacklist = set(( +pyproject_py_modules_blocklist = set(( # adafruit bundle "adafruit_colorsys", @@ -194,10 +194,10 @@ def get_package_info(library_path, package_folder_prefix): py_modules = get_nested(pyproject_toml, "tool", "setuptools", "py-modules", default=[]) packages = get_nested(pyproject_toml, "tool", "setuptools", "packages", default=[]) - blacklisted = [name for name in py_modules if name in pyproject_py_modules_blacklist] + blocklisted = [name for name in py_modules if name in pyproject_py_modules_blacklist] - if blacklisted: - print(f"{lib_path}/settings.toml:1: {blacklisted[0]} blacklisted: not using metadata from pyproject.toml") + if blocklisted: + print(f"{lib_path}/settings.toml:1: {blocklisted[0]} blacklisted: not using metadata from pyproject.toml") py_modules = packages = () example_files = [sub_path for sub_path in (lib_path / "examples").rglob("*")