Skip to content

Commit b45e44c

Browse files
committed
Deploy .pyi stubs alongside .py files.
This is the recommended approach for 3rd party stubs. See: python/typing#84 (comment)
1 parent 58e3807 commit b45e44c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ def find_meta(meta):
8989
long_description=LONG,
9090
packages=PACKAGES,
9191
package_dir={"": "src"},
92+
package_data={'attr': ['*.pyi']},
9293
zip_safe=False,
9394
classifiers=CLASSIFIERS,
9495
install_requires=INSTALL_REQUIRES,

0 commit comments

Comments
 (0)