This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit e6e7c224c5bddf33e2ecc4dee71d63dc71a5f53e
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sat Jun 29 11:32:16 2024 +0200

    Update project setuptools build metadata so it works correctly with
    latest version of the setuptools.
---
 MANIFEST.in    | 6 ++++++
 pyproject.toml | 6 +++++-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/MANIFEST.in b/MANIFEST.in
index d6195e687..67421d7f9 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -10,6 +10,7 @@ include pyproject.toml
 include requirements-tests.txt
 include requirements-lint.txt
 include libcloud/data/pricing.json
+include libcloud/test/secrets.py-dist
 include demos/*
 include scripts/check_file_names.sh
 recursive-exclude libcloud/test secrets.py
@@ -17,3 +18,8 @@ prune libcloud/test/secrets.py
 prune requirements-rtd.txt
 prune dist
 prune build
+prune contrib/
+prune docs/
+prune demos/
+prune integration/
+prune pylint_plugins/
diff --git a/pyproject.toml b/pyproject.toml
index 4c7384cbd..9abaeb8c6 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -86,7 +86,11 @@ test = [
 
 [tool.setuptools.packages.find]
 where = ["./"]
-include = ["libcloud"]
+include = ["libcloud", "libcloud.test*" ]
+
+[tool.setuptools.package-data]
+"libcloud.test" = ["*.json", "*.xml", "*.pub", "*.key"]
+"libcloud.test.compute.fixtures.misc" = ["*"]
 
 [tool.setuptools]
 exclude-package-data = { "*" = ["secrets.py"], "libcloud.test" = 
["secrets.py"] }

Reply via email to