diff --git a/metricflow-semantics/pyproject.toml b/metricflow-semantics/pyproject.toml index 88dc2bf5ce..a004771574 100644 --- a/metricflow-semantics/pyproject.toml +++ b/metricflow-semantics/pyproject.toml @@ -58,5 +58,12 @@ features = [ [tool.hatch.build.targets.sdist] packages = ["metricflow_semantics"] +# include doesn't seem to work with packages, so using force include. +[tool.hatch.build.targets.sdist.force-include] +"ATTRIBUTION.md" = "ATTRIBUTION.md" + [tool.hatch.build.targets.wheel] packages = ["metricflow_semantics"] + +[tool.hatch.build.targets.wheel.force-include] +"ATTRIBUTION.md" = "ATTRIBUTION.md" diff --git a/pyproject.toml b/pyproject.toml index ae627388f6..107f9a9c98 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -90,9 +90,16 @@ trino-sql-client-packages = [ [tool.hatch.build.targets.sdist] packages = ["metricflow", "metricflow-semantics/metricflow_semantics"] +# include doesn't seem to work with packages, so using force include. +[tool.hatch.build.targets.sdist.force-include] +"ATTRIBUTION.md" = "ATTRIBUTION.md" + [tool.hatch.build.targets.wheel] packages = ["metricflow", "metricflow-semantics/metricflow_semantics"] +[tool.hatch.build.targets.wheel.force-include] +"ATTRIBUTION.md" = "ATTRIBUTION.md" + # Environment setup # Due to our current wonky package organization, we need to do an editable install