Files
openvino/tools/benchmark_tool/setup.py
T

46 lines
1.2 KiB
Python
Raw Normal View History

#!/usr/bin/env python3
2023-01-16 11:02:17 +04:00
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
"""
Use this script to create a wheel with OpenVINO™ Python* tools:
$ python setup.py sdist bdist_wheel
"""
import pkg_resources
from setuptools import setup, find_packages
2021-08-12 11:38:03 +03:00
with open('README.md', 'r', encoding='utf-8') as f:
long_description = f.read()
with open('requirements.txt') as requirements_txt:
reqs = [
str(requirement)
for requirement
in pkg_resources.parse_requirements(requirements_txt)
]
setup(
name='benchmark_tool',
version='0.0.0',
author='Intel® Corporation',
license='OSI Approved :: Apache Software License',
author_email='openvino_pushbot@intel.com',
url='https://github.com/openvinotoolkit/openvino',
description='OpenVINO™ Python* tools package',
long_description=long_description,
long_description_content_type='text/markdown',
entry_points={
'console_scripts': [
'benchmark_app = openvino.tools.benchmark.main:main'],
},
classifiers=[
'Programming Language :: Python :: 3',
'Operating System :: OS Independent',
],
packages=find_packages(),
install_requires=reqs,
2022-11-06 07:45:42 +01:00
python_requires='>=3.7',
)