fix(python): ship mirror inline type metadata

This commit is contained in:
ZacharyZhang-NY committed 2026-07-19 16:00:45 -04:00
1 parent 54a5778ec4
commit 08340725ec
4 files changed
+13

No files matched your search

+1
View File
@@ -0,0 +1 @@
+3
View File
@@ -42,5 +42,8 @@ dev = [
[tool.setuptools.packages.find]
include = ["elydora*"]
[tool.setuptools.package-data]
elydora = ["py.typed"]
[tool.setuptools.dynamic]
version = {attr = "elydora._version.__version__"}
@@ -0,0 +1,8 @@
from importlib.resources import files
def test_package_declares_inline_type_information() -> None:
marker = files("elydora").joinpath("py.typed")
assert marker.is_file()
assert marker.read_text(encoding="utf-8").strip() == ""