idf-build-apps 2.6.3__py3-none-any.whl → 2.6.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ Tools for building ESP-IDF related apps.
8
8
  # ruff: noqa: E402
9
9
  # avoid circular imports
10
10
 
11
- __version__ = '2.6.3'
11
+ __version__ = '2.6.4'
12
12
 
13
13
  from .session_args import (
14
14
  SessionArgs,
idf_build_apps/main.py CHANGED
@@ -10,6 +10,7 @@ import os
10
10
  import sys
11
11
  import textwrap
12
12
  import typing as t
13
+ from pathlib import Path
13
14
 
14
15
  import argcomplete
15
16
  from pydantic import (
@@ -170,6 +171,13 @@ def build_apps(
170
171
  LOGGER.debug('Remove existing collect file %s', f)
171
172
 
172
173
  exit_code = 0
174
+
175
+ # create empty files, avoid no file when no app is built
176
+ if build_arguments.collect_app_info:
177
+ Path(build_arguments.collect_app_info).touch()
178
+ if build_arguments.collect_size_info:
179
+ Path(build_arguments.collect_size_info).touch()
180
+
173
181
  for i, app in enumerate(apps):
174
182
  index = i + 1 # we use 1-based
175
183
  if index < start or index > stop:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: idf-build-apps
3
- Version: 2.6.3
3
+ Version: 2.6.4
4
4
  Summary: Tools for building ESP-IDF related apps.
5
5
  Author-email: Fu Hanxi <fuhanxi@espressif.com>
6
6
  Requires-Python: >=3.7
@@ -1,4 +1,4 @@
1
- idf_build_apps/__init__.py,sha256=pu5ALHzpC-OiFkmOSVzFLR79PblHzc8HoLeF5NAPeTw,650
1
+ idf_build_apps/__init__.py,sha256=4YQAUfHodWwG2N97CUD5qms_PxD1g8JuEWPO4q6vynY,650
2
2
  idf_build_apps/__main__.py,sha256=8E-5xHm2MlRun0L88XJleNh5U50dpE0Q1nK5KqomA7I,182
3
3
  idf_build_apps/app.py,sha256=v85SiN56-yOxxo48owo9JLgL56sQjsR6c5ScBES4wxA,37611
4
4
  idf_build_apps/args.py,sha256=rNOzetQYyfCfz9RQq_bzLXL6FrFpJllvLU2VooL_p9s,34178
@@ -6,7 +6,7 @@ idf_build_apps/autocompletions.py,sha256=g-bx0pzXoFKI0VQqftkHyGVWN6MLjuFOdozeuAf
6
6
  idf_build_apps/constants.py,sha256=HU0rtKqhvLj9nMsy6XvyQMjMEBliNi9xaS2D8CQEPsE,2421
7
7
  idf_build_apps/finder.py,sha256=hY6uSMB2s65MqMKIDBSHABOfa93mOLT7x5hlMxC43EQ,5794
8
8
  idf_build_apps/log.py,sha256=pyvT7N4MWzGjIXph5mThQCGBiSt53RNPW0WrFfLr0Kw,2650
9
- idf_build_apps/main.py,sha256=mxoGsUN_oTFKlSkerLh1kQwgtiydx23-N8LTHlVZ0MI,16584
9
+ idf_build_apps/main.py,sha256=zp1MvX78qlrF2qZ3kqBQAo27Q3b8ZczsGicABdpXID4,16866
10
10
  idf_build_apps/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  idf_build_apps/session_args.py,sha256=2WDTy40IFAc0KQ57HaeBcYj_k10eUXRKkDOWLrFCaHY,2985
12
12
  idf_build_apps/utils.py,sha256=cQJ5N-53vrASa4d8WW0AQCPJzendArXyU3kB5Vx-AH8,10880
@@ -20,8 +20,8 @@ idf_build_apps/vendors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
20
20
  idf_build_apps/vendors/pydantic_sources.py,sha256=cxSIPRc3eI5peVMhDxwf58YaGhuG4SCwPRVX2znFEek,4553
21
21
  idf_build_apps/yaml/__init__.py,sha256=W-3z5no07RQ6eYKGyOAPA8Z2CLiMPob8DD91I4URjrA,162
22
22
  idf_build_apps/yaml/parser.py,sha256=b3LvogO6do-eJPRsYzT-8xk8AT2MnXpLCzQutJqyC7M,2128
23
- idf_build_apps-2.6.3.dist-info/entry_points.txt,sha256=3pVUirUEsb6jsDRikkQWNUt4hqLK2ci1HvW_Vf8b6uE,59
24
- idf_build_apps-2.6.3.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
25
- idf_build_apps-2.6.3.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
26
- idf_build_apps-2.6.3.dist-info/METADATA,sha256=vGpCumQY2Eltveo01rFfuwt5QKrE4S4r_6KpcYh51QE,4693
27
- idf_build_apps-2.6.3.dist-info/RECORD,,
23
+ idf_build_apps-2.6.4.dist-info/entry_points.txt,sha256=3pVUirUEsb6jsDRikkQWNUt4hqLK2ci1HvW_Vf8b6uE,59
24
+ idf_build_apps-2.6.4.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
25
+ idf_build_apps-2.6.4.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
26
+ idf_build_apps-2.6.4.dist-info/METADATA,sha256=jlNXdbm6ZA-m4j-vCpm9QUO0YT8OIZWLJ7IXGQN1Nqw,4693
27
+ idf_build_apps-2.6.4.dist-info/RECORD,,