Update setup.py to ensure that py.typed appears in wheel (#703)

Many thanks to @jhonatan-lopes for discovering, explaining, and fixing the issue.
This commit is contained in:
Jhonatan Lopes
2022-08-05 18:08:33 -03:00
committed by GitHub
parent 446abb7dd1
commit 690848732e
2 changed files with 9 additions and 0 deletions
+3
View File
@@ -39,6 +39,9 @@ setup(
"test",
]
),
include_package_data=True,
package_data={"pdfplumber": ["py.typed"]},
zip_safe=False,
tests_require=base_reqs + dev_reqs,
python_requires=">=3.7",
install_requires=base_reqs,