| # Copyright (c) 2021 Project CHIP Authors |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| import("//build_overrides/build.gni") |
| import("//build_overrides/chip.gni") |
| |
| import("//build_overrides/pigweed.gni") |
| import("$dir_pw_build/python_dist.gni") |
| |
| # This target creates a single Python package and wheel for yamltests. It will |
| # merge all Python dependencies Matter. The output is located in: |
| # out/obj/scripts/matter_yamltests_distribution/ <- source files here |
| # out/obj/scripts/matter_yamltests_distribution._build_wheel/matter_yamltests-0.0.1-py3-none-any.whl |
| pw_python_distribution("matter_yamltests_distribution") { |
| packages = [ "${chip_root}/scripts/py_matter_yamltests:matter_yamltests" ] |
| generate_setup_cfg = { |
| name = "matter_yamltests" |
| version = "0.0.1" |
| include_default_pyproject_file = true |
| append_date_to_version = true |
| } |
| } |