@@ -1,2 +1,6 @@
-include borgmatic/config/schema.yaml
-graft sample/systemd
+# This file only applies to the source dist tarball, not the built wheel.
+graft docs
+graft sample
+graft scripts
+graft tests
+global-exclude *.py[co]
@@ -1,5 +1,6 @@
2.0.9.dev0
* #1149: Add support for Python 3.14.
+ * #1149: Include automated tests in the source dist tarball uploaded to PyPI.
2.0.8
* #1114: Document systemd configuration changes for the ZFS filesystem hook.
@@ -33,7 +33,7 @@ git push github $version
# Build borgmatic and publish to pypi.
rm -fr dist
-python3 -m build
+uv build
twine upload -r pypi --username __token__ dist/borgmatic-*.tar.gz
twine upload -r pypi --username __token__ dist/borgmatic-*-py3-none-any.whl