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:
parent
1d26a5600c
commit
f438a3a321
@ -1,26 +1,27 @@
|
||||
[options]
|
||||
py_modules =
|
||||
mo
|
||||
mo_tf
|
||||
mo_caffe
|
||||
mo_mxnet
|
||||
mo_onnx
|
||||
mo_kaldi
|
||||
py_modules =
|
||||
mo
|
||||
mo_tf
|
||||
mo_caffe
|
||||
mo_mxnet
|
||||
mo_onnx
|
||||
mo_kaldi
|
||||
|
||||
[options.package_data]
|
||||
mo = *.txt
|
||||
compression.configs.hardware = *.json
|
||||
mo = *.txt
|
||||
compression.configs.hardware = *.json
|
||||
|
||||
[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
|
||||
|
||||
[metadata]
|
||||
license_files =
|
||||
readme*
|
||||
*LICENSE*
|
||||
*license*
|
||||
*third-party-programs*
|
||||
*EULA*
|
||||
readme*
|
||||
*LICENSE*
|
||||
*license*
|
||||
*third-party-programs*
|
||||
*EULA*
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user