diff --git a/pyproject.toml b/pyproject.toml index 17c97ec06c..ae627388f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -85,21 +85,13 @@ trino-sql-client-packages = [ "trino>=0.327.0, <0.328.0", ] +# There are files that hatch will always include as well (e.g. the LICENSE file). +# See hatch build docs for more details. [tool.hatch.build.targets.sdist] -exclude = [ - ".github", - ".changes", - ".changie.yaml", - ".gitignore", - ".pre-commit-config.yaml", - "CONTRIBUTING.md", - "Makefile", - "/dbt-metricflow", - "/local-data-warehouses", - "/metricflow-semantics/tests_metricflow_semantics", - "/scripts", - "/tests", -] +packages = ["metricflow", "metricflow-semantics/metricflow_semantics"] + +[tool.hatch.build.targets.wheel] +packages = ["metricflow", "metricflow-semantics/metricflow_semantics"] # Environment setup