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]
|
[options]
|
||||||
py_modules =
|
py_modules =
|
||||||
mo
|
mo
|
||||||
mo_tf
|
mo_tf
|
||||||
mo_caffe
|
mo_caffe
|
||||||
mo_mxnet
|
mo_mxnet
|
||||||
mo_onnx
|
mo_onnx
|
||||||
mo_kaldi
|
mo_kaldi
|
||||||
|
|
||||||
[options.package_data]
|
[options.package_data]
|
||||||
mo = *.txt
|
mo = *.txt
|
||||||
compression.configs.hardware = *.json
|
compression.configs.hardware = *.json
|
||||||
|
|
||||||
[options.entry_points]
|
[options.entry_points]
|
||||||
console_scripts =
|
console_scripts =
|
||||||
|
mo=mo.__main__:main
|
||||||
pot=app.run:main
|
pot=app.run:main
|
||||||
accuracy_check=accuracy_checker.main:main
|
accuracy_check=accuracy_checker.main:main
|
||||||
convert_annotation=accuracy_checker.annotation_converters.convert:main
|
convert_annotation=accuracy_checker.annotation_converters.convert:main
|
||||||
|
|
||||||
[metadata]
|
[metadata]
|
||||||
license_files =
|
license_files =
|
||||||
readme*
|
readme*
|
||||||
*LICENSE*
|
*LICENSE*
|
||||||
*license*
|
*license*
|
||||||
*third-party-programs*
|
*third-party-programs*
|
||||||
*EULA*
|
*EULA*
|
||||||
|
@ -87,6 +87,11 @@ setup(name='openvino-mo',
|
|||||||
'install': InstallCmd,
|
'install': InstallCmd,
|
||||||
'build_py': BuildCmd,
|
'build_py': BuildCmd,
|
||||||
},
|
},
|
||||||
|
entry_points={
|
||||||
|
'console_scripts': [
|
||||||
|
'mo = mo.__main__:main',
|
||||||
|
],
|
||||||
|
},
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"License :: OSI Approved :: Apache Software License",
|
"License :: OSI Approved :: Apache Software License",
|
||||||
|
Loading…
Reference in New Issue
Block a user