Skip to content

Commit 3255794

Browse files
Use headless opencv
1 parent 058c5bd commit 3255794

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

setup.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,13 @@
2121
install_requires=['pdfminer.six', 'pandas', 'pikepdf',
2222
'textstat', 'requests', 'numpy',
2323
'boxdetect', 'pdf2image', 'reportlab>=3.6.13', 'pdfminer.six',
24-
'opencv-python', 'ocrmypdf', 'eyecite', 'sigfig',
24+
'opencv-python-headless', 'ocrmypdf', 'eyecite', 'sigfig',
2525
'openai', 'python-dotenv', 'python-docx', 'tiktoken', 'transformers'
2626
],
27+
entry_points={
28+
'console_scripts': [
29+
'formfyxer=formfyxer.cli:main',
30+
],
31+
},
2732
include_package_data = True
2833
)

0 commit comments

Comments
 (0)