Skip to content

Commit e6e7c22

Browse files
committed
Update project setuptools build metadata so it works correctly with
latest version of the setuptools.
1 parent 94ac384 commit e6e7c22

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

MANIFEST.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,16 @@ include pyproject.toml
1010
include requirements-tests.txt
1111
include requirements-lint.txt
1212
include libcloud/data/pricing.json
13+
include libcloud/test/secrets.py-dist
1314
include demos/*
1415
include scripts/check_file_names.sh
1516
recursive-exclude libcloud/test secrets.py
1617
prune libcloud/test/secrets.py
1718
prune requirements-rtd.txt
1819
prune dist
1920
prune build
21+
prune contrib/
22+
prune docs/
23+
prune demos/
24+
prune integration/
25+
prune pylint_plugins/

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,11 @@ test = [
8686

8787
[tool.setuptools.packages.find]
8888
where = ["./"]
89-
include = ["libcloud"]
89+
include = ["libcloud", "libcloud.test*" ]
90+
91+
[tool.setuptools.package-data]
92+
"libcloud.test" = ["*.json", "*.xml", "*.pub", "*.key"]
93+
"libcloud.test.compute.fixtures.misc" = ["*"]
9094

9195
[tool.setuptools]
9296
exclude-package-data = { "*" = ["secrets.py"], "libcloud.test" = ["secrets.py"] }

0 commit comments

Comments
 (0)