Skip to content

Commit 84efe1d

Browse files
authored
Merge pull request #147 from tekktrik/dev/allow-multi-package
Allow for multiple package definitions in pyproject.toml
2 parents c35d3af + 5c990ec commit 84efe1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

circuitpython_build_tools/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def get_package_info(library_path, package_folder_prefix):
258258

259259
if packages:
260260
if len(packages) > 1:
261-
raise ValueError("Only a single package is supported")
261+
print("Using first package defined in pyproject.toml as top-level package name")
262262
package_name = packages[0]
263263
# print(f"Using package name from pyproject.toml: {package_name}")
264264
package_info["is_package"] = True

0 commit comments

Comments
 (0)