mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-10 21:10:55 +08:00
feat(rapidocr_api): add extras_require (#281)
add extras_require: onnx,paddle,openvino
This commit is contained in:
1 parent
c7c8bfb305
commit
a58d5d2f6e
1 file changed
+5
@@ -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=[
|
||||
|
||||
Reference in new issue
Block a user