Skip to content

Commit

Permalink
feat(rapidocr_api): add extras_require (#281)
Browse files Browse the repository at this point in the history
add extras_require: onnx,paddle,openvino
  • Loading branch information
hbh112233abc authored Dec 4, 2024
1 parent c7c8bfb commit a58d5d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ def get_readme():
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=[
Expand Down

0 comments on commit a58d5d2

Please sign in to comment.