Skip to content

Commit

Permalink
Change terminology
Browse files Browse the repository at this point in the history
  • Loading branch information
jepler committed Dec 5, 2023
1 parent b51d905 commit 0032a80
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions circuitpython_build_tools/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",

Expand Down Expand Up @@ -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("*")
Expand Down

0 comments on commit 0032a80

Please sign in to comment.