Add image_segmenter_metadata_schema and object_detector_metadata_schema python files to the mediapipe python wheels.

PiperOrigin-RevId: 530674961
This commit is contained in:
Jiuqiang Tang 2023-05-09 12:00:13 -07:00 committed by Copybara-Service
parent 08d19739e0
commit 05c565898a

View File

@ -294,7 +294,12 @@ class GenerateMetadataSchema(build_ext.build_ext):
"""Generate metadata python schema files."""
def run(self):
for target in ['metadata_schema_py', 'schema_py']:
for target in [
'image_segmenter_metadata_schema_py',
'metadata_schema_py',
'object_detector_metadata_schema_py',
'schema_py',
]:
bazel_command = [
'bazel',
'build',