Skip to content

Commit d7197b8

Browse files
committed
Fix ModelAPI setup.py
I have checked what it takes to create a PyPi package. We already have setup.py which can generate needed artifacts. We only need to rearrange the folders structure to remove the openvino folder. So if OTX changes their mind and refuses to use OMZ as a submodule, we should be able to publish ModelAPI to PyPi. But I guess we will need to use my personal account instead of Intel’s one for publishing since we won’t follow common processes.
1 parent 02de727 commit d7197b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

demos/common/python/setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
ovms_required = f.read().splitlines()
3535

3636
packages = find_packages(str(SETUP_DIR))
37+
packages.remove('visualizers')
3738
package_dir = {'openvino': str(SETUP_DIR / 'openvino')}
3839

3940
setup(
@@ -43,6 +44,7 @@
4344
license='OSI Approved :: Apache Software License',
4445
url='https://github.com/openvinotoolkit/open_model_zoo/tree/develop/demos/common/python/openvino',
4546
description='Model API: model wrappers and pipelines from Open Model Zoo',
47+
python_requires = ">=3.7",
4648
classifiers=[
4749
'License :: OSI Approved :: Apache Software License',
4850
'Programming Language :: Python :: 3',

0 commit comments

Comments
 (0)