File tree 4 files changed +5
-17
lines changed
4 files changed +5
-17
lines changed Original file line number Diff line number Diff line change @@ -52,18 +52,11 @@ template("chip_python_wheel_action") {
52
52
_py_scripts = []
53
53
}
54
54
55
- if (defined (invoker .py_typed_packages )) {
56
- _py_typed_packages = py_typed_packages
57
- } else {
58
- _py_typed_packages = []
59
- }
60
-
61
55
_py_manifest = {
62
56
files = _py_manifest_files_rebased
63
57
packages = py_packages
64
58
scripts = _py_scripts
65
59
package_reqs = py_package_reqs
66
- typed_packages = _py_typed_packages
67
60
}
68
61
69
62
write_file (_py_manifest_file , _py_manifest , " json" )
Original file line number Diff line number Diff line change @@ -321,7 +321,6 @@ chip_python_wheel_action("chip-clusters") {
321
321
" chip/clusters/TestObjects.py" ,
322
322
" chip/clusters/Types.py" ,
323
323
" chip/clusters/enum.py" ,
324
- " chip/clusters/py.typed" ,
325
324
" chip/tlv/__init__.py" ,
326
325
" chip/tlv/tlvlist.py" ,
327
326
]
@@ -332,8 +331,6 @@ chip_python_wheel_action("chip-clusters") {
332
331
},
333
332
]
334
333
335
- py_typed_packages = [ " chip.clusters" ]
336
-
337
334
inputs = []
338
335
339
336
py_packages = [
Original file line number Diff line number Diff line change @@ -115,12 +115,6 @@ def has_ext_modules(foo):
115
115
# Build the chip package...
116
116
#
117
117
packages = manifest ['packages' ]
118
- package_data = {}
119
- for package in manifest ['typed_packages' ]:
120
- package_data [package ] = ["py.typed" ]
121
-
122
- if libName :
123
- package_data [packages [0 ]] = [libName ]
124
118
125
119
print ("packageName: {}" .format (packageName ))
126
120
print ("libName: {}" .format (libName ))
@@ -146,7 +140,11 @@ def has_ext_modules(foo):
146
140
# By default, look in the tmp directory for packages/modules to be included.
147
141
'' : tmpDir ,
148
142
},
149
- package_data = package_data ,
143
+ package_data = {
144
+ packages [0 ]: [
145
+ libName
146
+ ]
147
+ } if libName else {},
150
148
scripts = [name for name in map (
151
149
lambda script : os .path .join (tmpDir , script .installName ),
152
150
installScripts
You can’t perform that action at this time.
0 commit comments