From b27d3d0aff5d0d87a80f340ba82d022c1f9d547f Mon Sep 17 00:00:00 2001 From: Pieter Marsman Date: Sat, 4 Jan 2020 18:15:15 +0100 Subject: [PATCH] Bump version --- CHANGELOG.md | 4 ++++ pdfminer/__init__.py | 14 +------------- setup.py | 8 +++++++- 3 files changed, 12 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ecd0bc3..a81cdd2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +Nothing here + +## [20200104] - 2019-01-04 + ## Removed - Support for Python 2 ([#346](https://github.com/pdfminer/pdfminer.six/pull/346)) diff --git a/pdfminer/__init__.py b/pdfminer/__init__.py index 4e12f18..1ce5908 100644 --- a/pdfminer/__init__.py +++ b/pdfminer/__init__.py @@ -1,16 +1,4 @@ -""" -Fork of PDFMiner - -PDFMiner is a tool for extracting information from PDF documents. -Unlike other PDF-related tools, it focuses entirely on getting and analyzing -text data. PDFMiner allows to obtain the exact location of texts in a page, -as well as other information such as fonts or lines. -It includes a PDF converter that can transform PDF files into other text -formats (such as HTML). It has an extensible PDF parser that can be used for -other purposes instead of text analysis. -""" - -__version__ = '20191110' +__version__ = '20200104' if __name__ == '__main__': print(__version__) diff --git a/setup.py b/setup.py index 70428fe..5196121 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,12 @@ from setuptools import setup +from os import path import pdfminer as package + +with open(path.join(path.abspath(path.dirname(__file__)), 'README.md')) as f: + readme = f.read() + setup( name='pdfminer.six', version=package.__version__, @@ -17,7 +22,8 @@ setup( "docs": ["sphinx", "sphinx-argparse"], }, description='PDF parser and analyzer', - long_description=package.__doc__, + long_description=readme, + long_description_content_type='text/markdown', license='MIT/X', author='Yusuke Shinyama + Philippe Guglielmetti', author_email='pdfminer@goulu.net',