diff --git a/pdfplumber/__init__.py b/pdfplumber/__init__.py index 9297b55..67418e2 100644 --- a/pdfplumber/__init__.py +++ b/pdfplumber/__init__.py @@ -5,7 +5,7 @@ import pdfminer.pdftypes pdfminer.pdftypes.STRICT = False pdfminer.pdfinterp.STRICT = False -VERSION_TUPLE = (0, 2, 0) +VERSION_TUPLE = (0, 3, 0) VERSION = ".".join(map(str, VERSION_TUPLE)) def load(file_or_buffer, **kwargs): diff --git a/setup.py b/setup.py index 4859849..79bc297 100644 --- a/setup.py +++ b/setup.py @@ -2,6 +2,8 @@ import sys, os from setuptools import setup, find_packages import subprocess +version = __import__("pdfplumber").VERSION + base_reqs = [ "chardet", "pycrypto", @@ -11,8 +13,8 @@ base_reqs = [ setup( name="pdfplumber", - description="Plumb a PDF for detailed information about each char, rectangle, line, etc.", - version="0.2.0", + 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,