Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
25 changes: 25 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down