Skip to content

Commit a6dc063

Browse files
bors[bot]sanders41
andauthored
Merge #637
637: Include py.typed in package build r=alallema a=sanders41 # Pull Request ## Related issue Fixes #636 ## What does this PR do? - Adds the py.typed file to the package I know this works when using poetry so I think it will work here. In a "normal" `setup.py` situation the file would be included in the `setup.py` so there is a chance the file will need to be added there instead/also as it used to be. ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Paul Sanders <[email protected]>
2 parents aa1a840 + 0dcc668 commit a6dc063

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ classifiers = [
2424
"License :: OSI Approved :: MIT License",
2525
"Operating System :: OS Independent",
2626
]
27+
include = ["meilisearch/py.typed"]
2728
dependencies = [
2829
"requests",
2930
"camel-converter[pydantic]",

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
setup(
66
packages=find_packages(exclude=("tests*",)),
77
include_package_data=True,
8+
package_data={"meilisearch": ["py.typed"]},
89
)

0 commit comments

Comments
 (0)