Files
openvino/scripts/utils/create_package.py
Ilya Churaev 0c9abf43a9 Updated copyright headers (#15124)
* Updated copyright headers

* Revert "Fixed linker warnings in docs snippets on Windows (#15119)"

This reverts commit 372699ec49.
2023-01-16 11:02:17 +04:00

19 lines
596 B
Python

# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
import argparse
import os
from shutil import rmtree
from utils import Automation
parser = argparse.ArgumentParser()
parser.add_argument("--build_number", type=int, help="Build number to be added to package version", default=0, )
args = parser.parse_args()
auto = Automation()
base_dir = os.path.dirname(__file__)
bom_path = os.path.join(base_dir, "package_BOM.txt")
bom = auto.parse_bom(bom_path=bom_path)
dir_to_tar = auto.copy_files_from_bom(root_path=os.path.join(os.path.dirname(__file__), ".."), bom=bom)