[stable-2.15] Use build instead of pep517 for integration test (#83640)

(cherry picked from commit f261a6142f)
pull/83653/head
Matt Clay 5 months ago committed by GitHub
parent 1918212ffb
commit 24d70469ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,6 +1,5 @@
[build-system]
requires = [
"setuptools >= 44",
"wheel",
]
build-backend = "setuptools.build_meta"

@ -25,11 +25,11 @@ ansible \
=== Test that the module \
gets picked up if installed \
into site-packages ===
python -m pip install pep517
( # Build a binary Python dist (a wheel) using PEP517:
python -m pip install build
( # Build a binary Python dist (a wheel) using build:
cp -r ansible-collection-python-dist-boo "${OUTPUT_DIR}/"
cd "${OUTPUT_DIR}/ansible-collection-python-dist-boo"
python -m pep517.build --binary --out-dir dist .
python -m build -w -o dist .
)
# Install a pre-built dist with pip:
python -m pip install \

Loading…
Cancel
Save