-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
51 lines (47 loc) · 1.29 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# -*- coding: utf-8 -*-
#
# Copyright (C) 2022 Lorenzo Coacci
#
# pylint: disable=logging-format-interpolation,too-many-lines
# import submodules you want to install
from setuptools import setup, find_packages
with open('README.md') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
setup(
name="pdfer",
version="0.1.7",
author="Lorenzo Coacci",
author_email="lorenzo@coacci.it",
description="The package will help you manage and parse PDFs to text with OCR and not.",
long_description=readme,
long_description_content_type="text/markdown",
url="https://github.com/lollococce/pdfer",
keywords=['pdf', 'parsing', 'extract', 'ocr'],
license=license,
include_package_data=True,
install_requires=[
# default libraries
'sphinx',
'pytest',
'twine',
'sphinx_rtd_theme',
# monitoring logging etc
'golog',
# pdf libraries
'PyPDF2',
'tabula-py',
# OCR
'pdf2image',
'pytesseract',
'opencv-python',
'pyocr'
],
packages=find_packages(exclude=('tests', 'docs')),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
]
)