Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: include build_hook.py in source distribution (#3699)

devin-ai-integration[bot]e3ea532384bf
diff --git a/pyproject.toml b/pyproject.toml
index dd09142183..0d49971a4e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -143,11 +143,13 @@ path = "marimo/__init__.py"
include = ["/marimo"]
artifacts = ["marimo/_static/", "marimo/_lsp/", "third_party.txt", "third_party_licenses.txt"]
exclude = ["marimo/_smoke_tests"]
+force-include = { "build_hook.py" = "build_hook.py" }
[tool.hatch.build.targets.wheel]
include = ["/marimo"]
artifacts = ["marimo/_static/", "marimo/_lsp/", "third_party.txt", "third_party_licenses.txt"]
exclude = ["marimo/_smoke_tests"]
+force-include = { "build_hook.py" = "build_hook.py" }
# Override the default uv version to use the latest version
[tool.hatch.envs.hatch-uv]