forked from jstockwin/py-pdf-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
63 lines (57 loc) · 1.81 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
52
53
54
55
56
57
58
59
60
61
62
63
import os
import sys
from setuptools import setup, find_packages
if sys.version_info < (3, 6):
print(sys.stderr, "{}: need Python 3.6 or later.".format(sys.argv[0]))
print(sys.stderr, "Your Python is {}".format(sys.version))
sys.exit(1)
ROOT_DIR = os.path.dirname(__file__)
setup(
name="py-pdf-parser",
packages=find_packages(),
exclude=["tests.*", "tests", "docs", "docs.*"],
version="0.7.0",
url="https://github.com/jstockwin/py-pdf-parser",
license="BSD",
description="A tool to help extracting information from structured PDFs.",
long_description=open(os.path.join(ROOT_DIR, "README.md")).read(),
long_description_content_type="text/markdown",
author="Jake Stockwin",
author_email="[email protected]",
include_package_data=True,
install_requires=[
"pdfminer.six==20201018",
"docopt==0.6.2",
"wand==0.6.6",
"PyYAML==5.4.1",
],
extras_require={
"dev": [
"matplotlib==3.1.2",
"pillow==8.1.0",
"pyqt5==5.14.1",
"pyvoronoi==1.0.5",
"shapely==1.7.1",
],
"test": [
"black==20.8b1",
"ddt==1.4.1",
"matplotlib==3.1.2",
"mock==4.0.3",
"mypy==0.790",
"nose==1.3.7",
"pillow==8.1.0",
"pycodestyle==2.6.0",
"pyqt5==5.14.1",
"pytype==2020.2.6",
"recommonmark==0.7.1",
"sphinx-autobuild==2020.9.1",
"sphinx-rtd-theme==0.5.1",
"Sphinx==3.5.2",
# This is a sub-dependency but is pinned because the next version doesn't
# install correctly. See:
# https://github.com/scikit-build/ninja-python-distributions/issues/27
"ninja==1.10.0.post2",
],
},
)