Skip to content

Commit 87b8f6d

Browse files
authored
Package py.typed marker file (#856)
1 parent 0649f71 commit 87b8f6d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@
5353
],
5454
}
5555
packages = find_packages(exclude=["tests"])
56+
package_data = {
57+
package: ["py.typed"] for package in packages
58+
}
5659

5760
readme_path = os.path.abspath(os.path.join(os.path.dirname(__file__),
5861
"README.rst"))
@@ -73,6 +76,7 @@
7376
"extras_require": extras_require,
7477
"classifiers": classifiers,
7578
"packages": packages,
79+
"package_data": package_data,
7680
"entry_points": entry_points,
7781
"python_requires": ">=3.7",
7882
}

0 commit comments

Comments
 (0)