Files
openvino/scripts/utils/create_package.py

16 lines
513 B
Python

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)