export type annotations in package (#679)

* export type annotations via our pypi package

* update CHANGELOG

Co-authored-by: Pieter Marsman <pietermarsman@gmail.com>
pull/706/head
Andrew Baumann 2022-01-25 13:11:17 -08:00 committed by GitHub
parent 24eb15cae5
commit 9a644aae76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased] ## [Unreleased]
### Added ### Added
- Export type annotations from pypi package per PEP561 ([#679](https://github.com/pdfminer/pdfminer.six/pull/679))
- Support for identity cmap's ([#626](https://github.com/pdfminer/pdfminer.six/pull/626)) - Support for identity cmap's ([#626](https://github.com/pdfminer/pdfminer.six/pull/626))
### Fixed ### Fixed

0
pdfminer/py.typed Normal file
View File

View File

@ -11,7 +11,7 @@ setup(
name='pdfminer.six', name='pdfminer.six',
version=package.__version__, version=package.__version__,
packages=['pdfminer'], packages=['pdfminer'],
package_data={'pdfminer': ['cmap/*.pickle.gz']}, package_data={'pdfminer': ['cmap/*.pickle.gz', 'py.typed']},
install_requires=[ install_requires=[
'chardet ; python_version > "3.0"', 'chardet ; python_version > "3.0"',
'cryptography', 'cryptography',