Skip to content

Commit

Permalink
-r Add py.typed file; include it in wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
jonded94 committed Aug 6, 2024
1 parent d866388 commit e9e203a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Empty file added approval_utilities/py.typed
Empty file.
Empty file added approvaltests/py.typed
Empty file.
2 changes: 1 addition & 1 deletion setup.approval_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
url="https://github.com/approvals/ApprovalTests.Python",
python_requires=">=3.8",
packages=find_packages(include=["approval_utilities*"]),
package_data={},
package_data={"approval_utilities": ["py.typed"]},
install_requires=[],
# long_description=(get_parent_directory() / "README.md").read_text(),
# long_description_content_type="text/markdown",
Expand Down
2 changes: 1 addition & 1 deletion setup_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def do_the_setup(package_name, package_description, required, extra_requires):
url="https://github.com/approvals/ApprovalTests.Python",
python_requires=">=3.8",
packages=find_packages(include=["approvaltests*"]),
package_data={"approvaltests": ["reporters/reporters.json"]},
package_data={"approvaltests": ["reporters/reporters.json", "py.typed"]},
entry_points={
"pytest11": [
"approvaltests_pytest = approvaltests.integrations.pytest.pytest_plugin",
Expand Down

0 comments on commit e9e203a

Please sign in to comment.