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: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
if unzip -l "$WHEEL" | grep -q "ably/sync/"; then
echo "✅ Found ably/sync/ in wheel"
else
unzip -l "$WHEEL"
echo "❌ ably/sync/ not found in wheel"
exit 1
fi
Expand All @@ -62,6 +63,7 @@ jobs:
if tar -tzf "$TARBALL" | grep -q "ably/sync/"; then
echo "✅ Found ably/sync/ in tarball"
else
tar -tzf "$TARBALL"
echo "❌ ably/sync/ not found in tarball"
exit 1
fi
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,5 @@ ably/types/options.py.orig
test/ably/restsetup.py.orig

.idea/**/*
**/ably/sync/***
ably/sync/**
test/ably/sync/**
18 changes: 18 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,25 @@ Repository = "https://github.com/ably/ably-python"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.sdist]
ignore-vcs = true
include = [
"/ably",
"/COPYRIGHT",
"/README.md",
"/LICENSE",
"/LONG_DESCRIPTION.rst",
"/images",
"/setup.cfg",
"/pyproject.toml"
]
exclude = [
"**/*.pyc",
"**/__pycache__"
]

[tool.hatch.build.targets.wheel]
ignore-vcs = true
packages = ["ably"]

[tool.pytest.ini_options]
Expand Down