-
Notifications
You must be signed in to change notification settings - Fork 43
/
setup.py
51 lines (45 loc) · 1.38 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
import os
import sys
from setuptools import find_packages, setup
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.13.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==20220524",
"docopt==0.6.2",
"wand==0.6.10",
],
extras_require={
"dev": [
"matplotlib==3.5.1",
"pillow==9.2.0",
"pyvoronoi==1.0.7",
"shapely==1.8.2",
],
"test": [
"ddt==1.6.0",
"matplotlib==3.5.1",
"mock==4.0.3",
"nose==1.3.7",
"pillow==9.2.0",
"recommonmark==0.7.1",
"sphinx-autobuild==2021.3.14",
"sphinx-rtd-theme==1.0.0",
"Sphinx==5.2.3",
],
},
)