-
Notifications
You must be signed in to change notification settings - Fork 92
/
setup.py
48 lines (47 loc) · 1.56 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
"""For pip."""
from setuptools import find_packages, setup
exec(open("pdftotree/_version.py").read())
setup(
name="pdftotree",
version=__version__,
description="Convert PDF into hOCR with text, tables, and figures being recognized and preserved.",
long_description=open("README.rst").read(),
packages=find_packages(),
install_requires=[
"IPython",
"beautifulsoup4",
"keras>=2.4.0",
"numpy",
"pandas",
"pdfminer.six>=20191020",
"pillow",
"selectivesearch",
"sklearn",
"tabula-py",
"tensorflow>=2.2",
"wand",
],
keywords=["pdf", "parsing", "html", "hocr"],
setup_requires=["pytest-runner"],
tests_require=["pytest"],
url="https://github.com/HazyResearch/pdftotree",
scripts=["bin/pdftotree", "bin/extract_tables"],
classifiers=[ # https://pypi.python.org/pypi?:action=list_classifiers
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3 :: Only",
],
project_urls={
"Tracker": "https://github.com/HazyResearch/pdftotree/issues",
"Source": "https://github.com/HazyResearch/pdftotree",
},
python_requires=">=3.6",
author="Hazy Research",
author_email="[email protected]",
license="MIT",
)