aboutsummaryrefslogtreecommitdiffstats
path: root/requirements
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-06-23 17:14:26 +0100
committerMatthew Lemon <y@yulqen.org>2024-06-23 17:32:10 +0100
commit9189ae7c790602035a5d43b5cc1f37aa3a2867d2 (patch)
tree645d4e5c605b0119e0fdbca3c91a17e378aaac3c /requirements
parent6a596cac664a063bd2dc9ca99f2f19664970ed01 (diff)
Removed pypdfium2 which doesn't build on FreeBSD
Libraries used: - PdPDF2 (to get basic PDF length) - https://pypi.org/project/PyPDF2/ - pdf2image (to extract images from each page) - https://github.com/Belval/pdf2image Reduction of quality of screenshotted image is in place. Reduced pdf screenshot quality considerably
Diffstat (limited to 'requirements')
-rw-r--r--requirements/base.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/requirements/base.txt b/requirements/base.txt
index fdf7dd1..51b046e 100644
--- a/requirements/base.txt
+++ b/requirements/base.txt
@@ -9,8 +9,8 @@ django-celery-beat==2.6.0 # https://github.com/celery/django-celery-beat
flower==2.0.1 # https://github.com/mher/flower
# migrated stuff from pyblackbird
-pypdf==4.2.0
-pypdfium2==4.29.0
+pdf2image==1.17.0
+pypdf2==3.0.1
python-magic==0.4.27
python-dotenv==1.0.1
boto3==1.34.89