Use build instead of pep517 for integration test

pull/83370/head
Matt Clay 4 months ago
parent b90c3a8de5
commit f261a6142f

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

@ -19,11 +19,11 @@ ansible \
>&2 echo '=== Test that the module gets picked up if installed into site-packages ===' >&2 echo '=== Test that the module gets picked up if installed into site-packages ==='
python -m pip install pep517 python -m pip install build
( # Build a binary Python dist (a wheel) using PEP517: ( # Build a binary Python dist (a wheel) using build:
cp -r ansible-collection-python-dist-boo "${OUTPUT_DIR}/" cp -r ansible-collection-python-dist-boo "${OUTPUT_DIR}/"
cd "${OUTPUT_DIR}/ansible-collection-python-dist-boo" 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: # Install a pre-built dist with pip:
python -m pip install \ python -m pip install \

Loading…
Cancel
Save