diff --git a/RELEASING.md b/RELEASING.md index 8f1357f..8fa3de4 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -67,7 +67,7 @@ git push origin v0.X.Y Use a fresh clone and venv to avoid leaking deps: ```bash -git clone https://github.com/apaolillo/pythainer.git +git clone git@github.com:apaolillo/pythainer.git cd pythainer/ python3 -m venv .venv-release . .venv-release/bin/activate diff --git a/pyproject.toml b/pyproject.toml index ea480cb..295c107 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,6 +40,31 @@ dev = [ requires = ["hatchling"] build-backend = "hatchling.build" +[tool.hatch.build] +exclude = [ + "/.venv*", + "/venv*", + "/env*", + "/__pycache__", + "*.pyc", + "/.git", + "/.github", +] + +[tool.hatch.build.targets.sdist] +exclude = [ + "/.venv*", + "/venv*", + "/env*", +] + +[tool.hatch.build.targets.wheel] +exclude = [ + "/.venv*", + "/venv*", + "/env*", +] + [tool.black] line-length = 100 target-version = ['py310']