Browse Source

Include automated tests in the source dist tarball uploaded to PyPI (#1149).

Dan Helfman 1 day ago
parent
commit
cab6c3ee9b
3 changed files with 8 additions and 3 deletions
  1. 6 2
      MANIFEST.in
  2. 1 0
      NEWS
  3. 1 1
      scripts/release

+ 6 - 2
MANIFEST.in

@@ -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 - 0
NEWS

@@ -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.

+ 1 - 1
scripts/release

@@ -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