diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 35c0da4..c298893 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,6 +22,6 @@ repos: files: openfeature - repo: https://github.com/astral-sh/uv-pre-commit - rev: 0.7.13 # Use the latest version as appropriate + rev: 0.7.13 hooks: - id: uv-lock diff --git a/pyproject.toml b/pyproject.toml index 66b144f..e9bd2fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,9 +27,6 @@ requires-python = ">=3.9" [project.urls] Homepage = "https://github.com/open-feature/python-sdk" -[tool.hatch.build.targets.wheel] -packages = ["openfeature"] - [project.optional-dependencies] dev = [ "behave", @@ -40,6 +37,15 @@ dev = [ "pre-commit" ] +[tool.hatch.build.targets.sdist] +exclude = [ + ".gitignore", + "test-harness", + "venv", +] + +[tool.hatch.build.targets.wheel] +packages = ["openfeature"] [tool.mypy] files = "openfeature"