Files
mayan-edms/mayan/apps/document_parsing/dependencies.py
Roberto Rosario ea3b513ae3 Add new app to handle all dependencies
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
2019-05-03 01:12:20 -04:00

16 lines
441 B
Python

from __future__ import unicode_literals
from django.utils.translation import ugettext_lazy as _
from mayan.apps.dependencies.classes import BinaryDependency
from .settings import setting_pdftotext_path
BinaryDependency(
help_text=_(
'Utility from the poppler-utils package used to text content '
'from PDF files.'
), label='PDF to text', module=__name__, name='pdftotext',
path=setting_pdftotext_path.value
)