Skip to content

Commit 732c144

Browse files
committed
remove local debuggy stuff that snuck in
1 parent 92138a5 commit 732c144

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

circuitpython_build_tools/scripts/build_bundles.py

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ def build_bundle(libs, bundle_version, output_filename,
109109
with zipfile.ZipFile(output_filename, 'w') as bundle:
110110
build_metadata = {"build-tools-version": build_tools_version}
111111
bundle.comment = json.dumps(build_metadata).encode("utf-8")
112-
#if multiple_libs:
113-
# total_size += add_file(bundle, "README.txt", os.path.join(top_folder, "README.txt"))
112+
if multiple_libs:
113+
total_size += add_file(bundle, "README.txt", os.path.join(top_folder, "README.txt"))
114114
for root, dirs, files in os.walk(build_dir):
115115
ziproot = root[len(build_dir + "/"):]
116116
for filename in files:
@@ -187,14 +187,3 @@ def build_bundles(filename_prefix, output_directory, library_location, library_d
187187
VERSION=bundle_version))
188188
build_bundle(libs, bundle_version, zip_filename,
189189
build_tools_version=build_tools_version, example_bundle=True)
190-
191-
# git ignore
192-
if __name__ == "__main__":
193-
194-
build_bundles(
195-
"test",
196-
"/home/sommersoft/Dev/cpy-build-tools/.bundles",
197-
"/home/sommersoft/Dev/circuitpython_libs/Adafruit_CircuitPython_Bundle/libraries",
198-
2,
199-
"adafruit_"
200-
)

0 commit comments

Comments
 (0)