Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

2.3 KB
Raw Blame
[project]
name = "openvino"
dynamic = ["version", "entry-points", "scripts"]
description = "OpenVINO(TM) Runtime"
readme = {file = "README.md", content-type="text/markdown"}
license = "Apache-2.0"
authors = [
    { name = "OpenVINO Developers", email = "[email protected]" },
]
classifiers = [
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Programming Language :: Python :: 3.13",
    "Programming Language :: Python :: 3.14",
    "Programming Language :: Python :: 3.15",
]
requires-python = ">=3.11"

dependencies = [
    "numpy>=1.16.6,<2.6.0",
    "openvino-telemetry>=2023.2.1",
]

[build-system]
requires = [
    "setuptools>=77,<=84.2.1", 
    "wheel<=0.48.0",
    "cmake<=4.4.5", 
    "patchelf<=0.19.3.0; sys_platform == 'linux' and platform_machine == 'x86_64'"
]
build-backend = "setuptools.build_meta"

[tool.setuptools]
license-files = [
    "LICENSE",
    "licensing/runtime-third-party-programs.txt",
    "licensing/onetbb_third-party-programs.txt",
    "licensing/onednn_third-party-programs.txt",
]
[tool.setuptools.packages.find]
where = ["./src/bindings/python"]
include = ["pyopenvino"] 

[tool.black]
line-length = 160
include = '\.pyi?$'

[tool.pyright]
include = ["src/bindings/python/src"]
exclude = ["src/bindings/python/src/pyopenvino"]
ignore = [
    "**/ops.py",
    "**/utils/data_helpers/data_dispatcher.py",
    "**/utils/types.py",
    "**/utils/decorators.py",
    "**/frontend/frontend.py",
    "**/_ov_api.py",
    "**/_op_base.py",
    "**/utils/node_factory.py",
    "**/frontend/tensorflow",
    "**/frontend/pytorch",
    "**/frontend/jax"
]
reportInvalidTypeForm = false
reportMissingModuleSource = false
reportFunctionMemberAccess = false
reportAttributeAccessIssue = false
reportMissingImports = false
reportIncompatibleMethodOverride = false

[tool.bandit]
exclude_dirs = ["docs", "tests", "thirdparty", "samples", ".github"]
skips = [
    'B101', 
    'B102', 
    'B103', 
    'B104', 
    'B105', 
    'B106', 
    'B107', 
    'B108', 
    'B110', 
    'B112', 
    'B201', 
    'B501', 
    'B502', 
    'B503', 
    'B504', 
    'B505', 
    'B506', 
    'B507', 
    'B601', 
    'B602', 
    'B603', 
    'B604', 
    'B605', 
    'B606', 
    'B607', 
    'B608', 
    'B609', 
    'B610', 
    'B611', 
    'B701', 
    'B702', 
    'B703']