remove requirements-ocr.txt and place the optional setup to setup.py

This commit is contained in:
geekan 2023-12-19 10:52:16 +08:00 committed by better629
parent f2e1053b48
commit 548e6d5f25
2 changed files with 1 additions and 4 deletions

View file

@ -1,4 +0,0 @@
paddlepaddle==2.4.2
paddleocr>=2.0.1
tabulate==0.9.0
-r requirements.txt

View file

@ -48,6 +48,7 @@ setup(
"search-google": ["google-api-python-client==2.94.0"],
"search-ddg": ["duckduckgo-search==3.8.5"],
"pyppeteer": ["pyppeteer>=1.0.2"],
"ocr": ["paddlepaddle==2.4.2", "paddleocr>=2.0.1", "tabulate==0.9.0"],
},
cmdclass={
"install_mermaid": InstallMermaidCLI,