idf-build-apps 2.11.0__py3-none-any.whl → 2.11.2__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.11.0'
11
+ __version__ = '2.11.2'
12
12
 
13
13
  from .session_args import (
14
14
  SessionArgs,
idf_build_apps/args.py CHANGED
@@ -247,7 +247,7 @@ class DependencyDrivenBuildArguments(GlobalArguments):
247
247
  manifest_rootpath: str = field(
248
248
  None,
249
249
  description='Root path to resolve the relative paths defined in the manifest files. '
250
- 'By default set to the current directory. Support environment variables.',
250
+ 'By default set to the current directory.',
251
251
  default=os.curdir, # type: ignore
252
252
  )
253
253
  modified_components: t.Optional[t.List[str]] = field(
@@ -791,7 +791,7 @@ class BuildArguments(FindBuildArguments):
791
791
  hidden=True,
792
792
  ),
793
793
  description='Record size json filepath of the built apps to the specified file. '
794
- 'Each line is a json string. Can expand placeholders @p. Support environment variables.',
794
+ 'Each line is a json string. Can expand placeholders @p.',
795
795
  validation_alias=AliasChoices('collect_size_info_filename', 'collect_size_info'),
796
796
  default=None, # type: ignore
797
797
  exclude=True, # computed field is used
@@ -802,7 +802,7 @@ class BuildArguments(FindBuildArguments):
802
802
  hidden=True,
803
803
  ),
804
804
  description='Record serialized app model of the built apps to the specified file. '
805
- 'Each line is a json string. Can expand placeholders @p. Support environment variables.',
805
+ 'Each line is a json string. Can expand placeholders @p.',
806
806
  validation_alias=AliasChoices('collect_app_info_filename', 'collect_app_info'),
807
807
  default=None, # type: ignore
808
808
  exclude=True, # computed field is used
@@ -812,8 +812,7 @@ class BuildArguments(FindBuildArguments):
812
812
  deprecates={'junitxml': {}},
813
813
  hidden=True,
814
814
  ),
815
- description='Path to the junitxml file to record the build results. Can expand placeholder @p. '
816
- 'Support environment variables.',
815
+ description='Path to the junitxml file to record the build results. Can expand placeholder @p.',
817
816
  validation_alias=AliasChoices('junitxml_filename', 'junitxml'),
818
817
  default=None, # type: ignore
819
818
  exclude=True, # computed field is used
@@ -5,9 +5,14 @@
5
5
  Manifest file
6
6
  """
7
7
 
8
- from esp_bool_parser import register_addition_attribute
8
+ from .manifest import DEFAULT_BUILD_TARGETS, FolderRule
9
+
10
+ __all__ = [
11
+ 'DEFAULT_BUILD_TARGETS',
12
+ 'FolderRule',
13
+ ]
9
14
 
10
- from .manifest import DEFAULT_BUILD_TARGETS
15
+ from esp_bool_parser import register_addition_attribute
11
16
 
12
17
 
13
18
  def folder_rule_attr(target, **kwargs):
@@ -460,8 +460,8 @@ class Manifest:
460
460
  return self._rule_paths[folder]
461
461
  folder = os.path.dirname(folder)
462
462
 
463
- # reached the root path, stop searching
464
- if folder == self._root_path:
463
+ # reached the root path or the system root path, stop searching
464
+ if folder == self._root_path or os.path.dirname(folder) == folder:
465
465
  if folder in self._rule_paths:
466
466
  return self._rule_paths[folder]
467
467
  break
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: idf-build-apps
3
- Version: 2.11.0
3
+ Version: 2.11.2
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,7 +1,7 @@
1
- idf_build_apps/__init__.py,sha256=dbJfW0hQTTG-x5k9tWW9qp2EUUYU0CFxCuabbnGJWt4,711
1
+ idf_build_apps/__init__.py,sha256=xJbQ4inJ6TtTfipFaNStBDNPKtkDkuPQIxW1TkMP-oo,711
2
2
  idf_build_apps/__main__.py,sha256=pT6OsFQRjCw39Jg43HAeGKzq8h5E_0m7kHDE2QMqDe0,182
3
3
  idf_build_apps/app.py,sha256=Z4TZegsyushNPvWcdSv4jJG1TIkuBMGdQ5FkpOSDFlE,36915
4
- idf_build_apps/args.py,sha256=Ria0VDBtnUyN3fgHbG9S9P7gyWYoJ3YxrN_C0z6XEeQ,38977
4
+ idf_build_apps/args.py,sha256=Im9a0OhibeVuzQYJeLQC4Q2w8akRo5HefS8uSYNkr0E,38842
5
5
  idf_build_apps/autocompletions.py,sha256=2fZQxzgZ21ie_2uk-B-7-xWYCChfOSgRFRYb7I2Onfo,2143
6
6
  idf_build_apps/constants.py,sha256=2iwLPZRhSQcn1v4RAcOJnHbqp1fDTp6A1gHaxn5ciTE,2166
7
7
  idf_build_apps/finder.py,sha256=yJnsYdcbX-TzUDrp8h1YJrLfBziQW4RiyLiJ47sHRY4,6375
@@ -13,15 +13,15 @@ idf_build_apps/utils.py,sha256=cQJ5N-53vrASa4d8WW0AQCPJzendArXyU3kB5Vx-AH8,10880
13
13
  idf_build_apps/junit/__init__.py,sha256=ljILW1rfeBAIlwZIw8jstYrVbugErlmCYzSzJwNFC2I,231
14
14
  idf_build_apps/junit/report.py,sha256=yzt5SiJEA_AUlw2Ld23J7enYlfDluvmKAcCnAM8ccqE,6565
15
15
  idf_build_apps/junit/utils.py,sha256=idBrLgsz6Co2QUQqq1AiyzRHnqbJf_EoykEAxCkjHZw,1303
16
- idf_build_apps/manifest/__init__.py,sha256=TxNrtn6uiSI4Uh8mQWxws5F7Gd6Lr3rMuBzGyl3yFCE,405
17
- idf_build_apps/manifest/manifest.py,sha256=ROMK3m3bNfb1Up5pD9cTZOVvAbqVAYAdlGlXHLiQvhg,17693
16
+ idf_build_apps/manifest/__init__.py,sha256=CP4_LSkh7sb_DsWLSzqkSZ3UojyVdM10bX9avlmn2pg,479
17
+ idf_build_apps/manifest/manifest.py,sha256=B_yZIfaPEYwIDR8J-EiTCxitiR9BTqFTZj8e1iaTvkk,17754
18
18
  idf_build_apps/manifest/soc_header.py,sha256=_F6H5-HP6ateAqKUGlRGH-SUtQ8NJ1RI0hBeCFvsDYA,172
19
19
  idf_build_apps/vendors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
20
  idf_build_apps/vendors/pydantic_sources.py,sha256=cxSIPRc3eI5peVMhDxwf58YaGhuG4SCwPRVX2znFEek,4553
21
21
  idf_build_apps/yaml/__init__.py,sha256=R6pYasVsD31maeZ4dWRZnS10hwzM7gXdnfzDsOIRJ-4,167
22
22
  idf_build_apps/yaml/parser.py,sha256=IhY7rCWXOxrzzgEiKipTdPs_8yXDf8JZr-sMewV1pk8,2133
23
- idf_build_apps-2.11.0.dist-info/entry_points.txt,sha256=3pVUirUEsb6jsDRikkQWNUt4hqLK2ci1HvW_Vf8b6uE,59
24
- idf_build_apps-2.11.0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
25
- idf_build_apps-2.11.0.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
26
- idf_build_apps-2.11.0.dist-info/METADATA,sha256=v9SrMcpVGeGM3HhR8rxJrdO2WfRAwedxth8Pf4OBexY,4795
27
- idf_build_apps-2.11.0.dist-info/RECORD,,
23
+ idf_build_apps-2.11.2.dist-info/entry_points.txt,sha256=3pVUirUEsb6jsDRikkQWNUt4hqLK2ci1HvW_Vf8b6uE,59
24
+ idf_build_apps-2.11.2.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
25
+ idf_build_apps-2.11.2.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
26
+ idf_build_apps-2.11.2.dist-info/METADATA,sha256=yjAkMH2eYCnQnfDxGgKxH9EXyexSmp6Qezd5hfkJLCs,4795
27
+ idf_build_apps-2.11.2.dist-info/RECORD,,