idf-build-apps 1.1.2__py2.py3-none-any.whl → 1.1.4__py2.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 +10 -1
- idf_build_apps/manifest/manifest.py +11 -9
- {idf_build_apps-1.1.2.dist-info → idf_build_apps-1.1.4.dist-info}/METADATA +3 -2
- {idf_build_apps-1.1.2.dist-info → idf_build_apps-1.1.4.dist-info}/RECORD +8 -8
- {idf_build_apps-1.1.2.dist-info → idf_build_apps-1.1.4.dist-info}/LICENSE +0 -0
- {idf_build_apps-1.1.2.dist-info → idf_build_apps-1.1.4.dist-info}/WHEEL +0 -0
- {idf_build_apps-1.1.2.dist-info → idf_build_apps-1.1.4.dist-info}/entry_points.txt +0 -0
idf_build_apps/__init__.py
CHANGED
idf_build_apps/app.py
CHANGED
|
@@ -598,7 +598,16 @@ class CMakeApp(App):
|
|
|
598
598
|
shutil.rmtree(self.work_dir)
|
|
599
599
|
LOGGER.debug('==> Copying app from %s to %s', self.app_dir, self.work_dir)
|
|
600
600
|
if not self.dry_run:
|
|
601
|
-
|
|
601
|
+
# if the new directory inside the original directory,
|
|
602
|
+
# make sure not to go into recursion.
|
|
603
|
+
ignore = shutil.ignore_patterns(
|
|
604
|
+
os.path.basename(self.work_dir),
|
|
605
|
+
# also ignore files which may be present in the work directory
|
|
606
|
+
'build',
|
|
607
|
+
'sdkconfig',
|
|
608
|
+
)
|
|
609
|
+
|
|
610
|
+
shutil.copytree(self.app_dir, self.work_dir, ignore=ignore, symlinks=True)
|
|
602
611
|
|
|
603
612
|
if os.path.exists(self.build_path):
|
|
604
613
|
LOGGER.debug('==> Build directory %s exists, removing', self.build_path)
|
|
@@ -59,15 +59,17 @@ class FolderRule:
|
|
|
59
59
|
): # type: (...) -> None
|
|
60
60
|
self.folder = folder.resolve()
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
self.
|
|
62
|
+
def _clause_to_if_clause(clause): # type: (dict[str, str]) -> IfClause
|
|
63
|
+
_kwargs = {'stmt': clause['if']}
|
|
64
|
+
if 'temporary' in clause:
|
|
65
|
+
_kwargs['temporary'] = clause['temporary']
|
|
66
|
+
if 'reason' in clause:
|
|
67
|
+
_kwargs['reason'] = clause['reason']
|
|
68
|
+
return IfClause(**_kwargs)
|
|
69
|
+
|
|
70
|
+
self.enable = [_clause_to_if_clause(clause) for clause in enable] if enable else []
|
|
71
|
+
self.disable = [_clause_to_if_clause(clause) for clause in disable] if disable else []
|
|
72
|
+
self.disable_test = [_clause_to_if_clause(clause) for clause in disable_test] if disable_test else []
|
|
71
73
|
self.depends_components = depends_components or []
|
|
72
74
|
self.depends_filepatterns = depends_filepatterns or []
|
|
73
75
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: idf-build-apps
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.4
|
|
4
4
|
Summary: Tools for building ESP-IDF related apps.
|
|
5
5
|
Author-email: Fu Hanxi <fuhanxi@espressif.com>
|
|
6
6
|
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
|
|
@@ -19,7 +19,8 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
19
19
|
Requires-Dist: pathlib; python_version < '3.4'
|
|
20
20
|
Requires-Dist: glob2; python_version < '3.5'
|
|
21
21
|
Requires-Dist: pyparsing
|
|
22
|
-
Requires-Dist: pyyaml
|
|
22
|
+
Requires-Dist: pyyaml>=5.3; python_version >= '3.5'
|
|
23
|
+
Requires-Dist: pyyaml<5.3; python_version < '3.5'
|
|
23
24
|
Requires-Dist: packaging
|
|
24
25
|
Requires-Dist: toml; python_version < '3.11'
|
|
25
26
|
Requires-Dist: sphinx ; extra == "doc"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
idf_build_apps/__init__.py,sha256=
|
|
1
|
+
idf_build_apps/__init__.py,sha256=Y48pGaQsOQLgpW2rvmv4G3IgEhzpoFgC53WHSTLpEAg,481
|
|
2
2
|
idf_build_apps/__main__.py,sha256=8E-5xHm2MlRun0L88XJleNh5U50dpE0Q1nK5KqomA7I,182
|
|
3
|
-
idf_build_apps/app.py,sha256=
|
|
3
|
+
idf_build_apps/app.py,sha256=E45_j95EcU2WQcrOfyZDFMXZZ5juUfvLYDgy8f6h6vk,28020
|
|
4
4
|
idf_build_apps/config.py,sha256=FCr1oqk8OJLNXUKxuIi4aJRWaRYalubOzQEQ0YCY2kk,2794
|
|
5
5
|
idf_build_apps/constants.py,sha256=nrzr5w7Cmj-V4bQ54woYzwAMKp6Ks_6yu_17w3K8Lfo,2182
|
|
6
6
|
idf_build_apps/finder.py,sha256=Z0UBMAoJrInQofx3BgVJ9g1QDqzidnz0VI9Qevq2B5g,6328
|
|
@@ -9,10 +9,10 @@ idf_build_apps/main.py,sha256=k3u4Q6rLmjmjU6zVsR7XtYtN38JOA1O9t_6fvCJLroQ,30232
|
|
|
9
9
|
idf_build_apps/utils.py,sha256=dKiZsGtJ024qT0CNsO_QjHkVHVjOgvWgYDUsC02JoVU,7232
|
|
10
10
|
idf_build_apps/manifest/__init__.py,sha256=Q2-cb3ngNjnl6_zWhUfzZZB10f_-Rv2JYNck3Lk7UkQ,133
|
|
11
11
|
idf_build_apps/manifest/if_parser.py,sha256=KEJQReWJBizOxREbhXNb--O6sTTiP2oGyuQ0s3dsCyw,6368
|
|
12
|
-
idf_build_apps/manifest/manifest.py,sha256=
|
|
12
|
+
idf_build_apps/manifest/manifest.py,sha256=R-KfJBw9ulY6-orqxoJfMLSpjWxmPm75VSq1wW2LCrg,7018
|
|
13
13
|
idf_build_apps/manifest/soc_header.py,sha256=W8h7ymknRg_qpNvp3Dl9dsnAk_IVxyvsA7IenT3-Zks,3888
|
|
14
|
-
idf_build_apps-1.1.
|
|
15
|
-
idf_build_apps-1.1.
|
|
16
|
-
idf_build_apps-1.1.
|
|
17
|
-
idf_build_apps-1.1.
|
|
18
|
-
idf_build_apps-1.1.
|
|
14
|
+
idf_build_apps-1.1.4.dist-info/entry_points.txt,sha256=3pVUirUEsb6jsDRikkQWNUt4hqLK2ci1HvW_Vf8b6uE,59
|
|
15
|
+
idf_build_apps-1.1.4.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
16
|
+
idf_build_apps-1.1.4.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
|
|
17
|
+
idf_build_apps-1.1.4.dist-info/METADATA,sha256=vcUUrIsnkRW2pW-10lMN3aIYN0RablyJI1q2NJIZ8lQ,5620
|
|
18
|
+
idf_build_apps-1.1.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|