From b32cc2ce00f3debbd4fdb338570421923a4faba7 Mon Sep 17 00:00:00 2001 From: akshathayadav378-boop Date: Wed, 11 Nov 2026 16:52:53 +0800 Subject: [PATCH] Add py.typed marker for mypy support --- MANIFEST.in | 1 + fasthtml/py.typed | 0 pyproject.toml | 3 +++ 3 files changed, 4 insertions(+) create mode 100644 fasthtml/py.typed diff --git a/MANIFEST.in b/MANIFEST.in index 9cfa2abc..b46ff0eb 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,5 @@ include fasthtml/*.pyi +include fasthtml/py.typed include fasthtml/*.js include settings.ini include LICENSE diff --git a/fasthtml/py.typed b/fasthtml/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/pyproject.toml b/pyproject.toml index 3a9e7c57..65a70f4a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,6 +35,9 @@ version = {attr = "fasthtml.__version__"} [tool.setuptools.packages.find] include = ["fasthtml"] +[tool.setuptools.package-data] +fasthtml = ["py.typed"] + [tool.nbdev] allowed_metadata_keys = ['solveit'] allowed_cell_metadata_keys = ['solveit_ai']