idf-build-apps 2.5.0rc0__py3-none-any.whl → 2.5.0rc2__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.
- idf_build_apps/__init__.py +1 -1
- idf_build_apps/app.py +0 -4
- idf_build_apps/args.py +454 -620
- idf_build_apps/constants.py +1 -0
- idf_build_apps/finder.py +2 -2
- idf_build_apps/main.py +49 -16
- idf_build_apps/manifest/manifest.py +5 -4
- idf_build_apps/utils.py +5 -1
- idf_build_apps/vendors/__init__.py +0 -0
- idf_build_apps/vendors/pydantic_sources.py +120 -0
- idf_build_apps/yaml/parser.py +3 -1
- {idf_build_apps-2.5.0rc0.dist-info → idf_build_apps-2.5.0rc2.dist-info}/METADATA +2 -1
- idf_build_apps-2.5.0rc2.dist-info/RECORD +27 -0
- idf_build_apps/config.py +0 -108
- idf_build_apps-2.5.0rc0.dist-info/RECORD +0 -26
- {idf_build_apps-2.5.0rc0.dist-info → idf_build_apps-2.5.0rc2.dist-info}/LICENSE +0 -0
- {idf_build_apps-2.5.0rc0.dist-info → idf_build_apps-2.5.0rc2.dist-info}/WHEEL +0 -0
- {idf_build_apps-2.5.0rc0.dist-info → idf_build_apps-2.5.0rc2.dist-info}/entry_points.txt +0 -0
idf_build_apps/__init__.py
CHANGED
idf_build_apps/app.py
CHANGED
|
@@ -74,7 +74,6 @@ class App(BaseModel):
|
|
|
74
74
|
NAME_PLACEHOLDER: t.ClassVar[str] = '@n' # replace it with self.name
|
|
75
75
|
FULL_NAME_PLACEHOLDER: t.ClassVar[str] = '@f' # replace it with escaped self.app_dir
|
|
76
76
|
IDF_VERSION_PLACEHOLDER: t.ClassVar[str] = '@v' # replace it with the IDF version
|
|
77
|
-
PARALLEL_INDEX_PLACEHOLDER: t.ClassVar[str] = '@p' # replace it with the parallel index
|
|
78
77
|
INDEX_PLACEHOLDER: t.ClassVar[str] = '@i' # replace it with the build index (while build_apps)
|
|
79
78
|
|
|
80
79
|
SDKCONFIG_LINE_REGEX: t.ClassVar[t.Pattern] = re.compile(r'^([^=]+)=\"?([^\"\n]*)\"?\n*$')
|
|
@@ -115,7 +114,6 @@ class App(BaseModel):
|
|
|
115
114
|
copy_sdkconfig: bool = False
|
|
116
115
|
|
|
117
116
|
# build_apps() related
|
|
118
|
-
parallel_index: t.Optional[int] = None # used for expand
|
|
119
117
|
index: t.Optional[int] = None
|
|
120
118
|
|
|
121
119
|
# build status related
|
|
@@ -244,8 +242,6 @@ class App(BaseModel):
|
|
|
244
242
|
|
|
245
243
|
if self.index is not None:
|
|
246
244
|
path = path.replace(self.INDEX_PLACEHOLDER, str(self.index))
|
|
247
|
-
if self.parallel_index:
|
|
248
|
-
path = path.replace(self.PARALLEL_INDEX_PLACEHOLDER, str(self.parallel_index))
|
|
249
245
|
path = path.replace(
|
|
250
246
|
self.IDF_VERSION_PLACEHOLDER, f'{IDF_VERSION_MAJOR}_{IDF_VERSION_MINOR}_{IDF_VERSION_PATCH}'
|
|
251
247
|
)
|