Skip to content

Commit e457d83

Browse files
committed
Fix some packages were incorrectly detected
1 parent 9d9d4ef commit e457d83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

circuitpython_build_tools/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ def get_package_info(library_path, package_folder_prefix):
113113
for pattern in GLOB_PATTERNS:
114114
glob_search.extend(list(lib_path.rglob(pattern)))
115115

116+
package_info["is_package"] = False
116117
for file in glob_search:
117118
if file.parts[parent_idx] != "examples":
118-
package_info["is_package"] = False
119119
if len(file.parts) > parent_idx + 1:
120120
for prefix in package_folder_prefix:
121121
if file.parts[parent_idx].startswith(prefix):

0 commit comments

Comments
 (0)