Add entry point for model optimizer as 'mo' alias (#5052)

* Add entry point for model optimizer as 'mo' alias

* Add entry point for mo package
This commit is contained in:
Sergey Lyubimtsev 2021-04-06 10:41:44 +03:00 committed by GitHub
parent 1d26a5600c
commit f438a3a321
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 14 deletions

View File

@ -13,6 +13,7 @@ py_modules =
[options.entry_points]
console_scripts =
mo=mo.__main__:main
pot=app.run:main
accuracy_check=accuracy_checker.main:main
convert_annotation=accuracy_checker.annotation_converters.convert:main

View File

@ -87,6 +87,11 @@ setup(name='openvino-mo',
'install': InstallCmd,
'build_py': BuildCmd,
},
entry_points={
'console_scripts': [
'mo = mo.__main__:main',
],
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",