feat(rapidocr_api): add extras_require (#281)

add extras_require: onnx,paddle,openvino
This commit is contained in:
huangbinghe authored and GitHub committed 2024-12-04 08:26:08 +08:00
1 parent c7c8bfb305
commit a58d5d2f6e
1 file changed
+5
+5
View File
@@ -56,6 +56,11 @@ setuptools.setup(
license="Apache-2.0",
include_package_data=True,
install_requires=read_txt("requirements.txt"),
extras_require={
'onnx': ['rapidocr-onnxruntime'],
'paddle': ['rapidocr-paddle'],
'openvino': ['rapidocr-openvino'],
},
packages=[MODULE_NAME],
package_data={"": ["*.ico", "*.css", "*.js", "*.html"]},
keywords=[