Skip to content

Commit 5f49c01

Browse files
committed
Export type hints from openslide package
Now that we've fully populated type hints, add py.typed marker (and also "Typing :: Typed" Trove classifier) so type checkers will use them. Signed-off-by: Benjamin Gilbert <[email protected]>
1 parent aa2a01f commit 5f49c01

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

openslide/py.typed

Whitespace-only changes.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ classifiers = [
2424
"Programming Language :: Python :: 3.11",
2525
"Programming Language :: Python :: 3.12",
2626
"Topic :: Scientific/Engineering :: Bio-Informatics",
27+
"Typing :: Typed",
2728
]
2829
requires-python = ">= 3.8"
2930
dependencies = ["Pillow"]

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,7 @@
2121
# tag wheel for Limited API
2222
'bdist_wheel': {'py_limited_api': 'cp311'} if _abi3 else {},
2323
},
24+
package_data={
25+
'openslide': ['py.typed'],
26+
},
2427
)

0 commit comments

Comments
 (0)