Files
openvino/tools/setup.py
Sergey Lyubimtsev b92fa8f303 Add benchmark app to openvino-dev package (#5135)
* Add openvino-tools package (benchmark_app)

* Add openvino-tools package (benchmark_app)

* entry point for benchmark_app

* use find_namespace_packages to search

* Add progress package in openvino-dev requirements list

* Define Apache Software License  license, add openvino to install_requires

* remove unused module
2021-04-19 12:50:57 +03:00

48 lines
1.4 KiB
Python

#!/usr/bin/env python3
# Copyright (C) 2018-2021 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
"""
from setuptools import setup, find_packages
with open('README.md', 'r', encoding='utf-8') as f:
long_description = f.read()
with open('benchmark/requirements.txt') as f:
required = f.read().splitlines()
required.extend(['openvino'])
pkgs = find_packages()
NAMESPACE = 'openvino.tools'
setup(
name='openvino-tools',
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',
'OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
],
package_dir={''.join((NAMESPACE, '.', pkg)) : pkg.replace('.', '/')
for pkg in pkgs},
packages=[''.join((NAMESPACE, '.', pkg)) for pkg in pkgs],
install_requires=required,
python_requires='>=3.6',
)