mirror of
https://github.com/jsvine/pdfplumber.git
synced 2026-08-29 16:40:24 +08:00
25 lines
634 B
Python
25 lines
634 B
Python
import sys, os
|
|
from setuptools import setup, find_packages
|
|
import subprocess
|
|
|
|
version = __import__("pdfplumber").VERSION
|
|
|
|
base_reqs = [
|
|
"chardet",
|
|
"pycrypto",
|
|
"unicodecsv>=0.14.1",
|
|
"pdfminer.six>=20151013"
|
|
]
|
|
|
|
setup(
|
|
name="pdfplumber",
|
|
description="Plumb a PDF for detailed information about each char, rectangle, and line — and easily extract text and tables.",
|
|
version=version,
|
|
packages=find_packages(exclude=["test",]),
|
|
tests_require=[ "nose", "pandas" ] + base_reqs,
|
|
install_requires=base_reqs,
|
|
entry_points={
|
|
"console_scripts": [ "pdfplumber = pdfplumber.cli:main" ]
|
|
}
|
|
)
|