mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-12-06 00:23:47 +03:00
With all the bits in place we can now drop the 'setup.py' invocations with preferred alternatives. This patch does a few things: - we don't run plain install because that always spins up a new build process regardless of whether there are build artifacts literally from the previous command, so instead we install the built wheel directly - when building, we build both the .whl binary and an sdist because we'll need the sdist for rpmbuild later in the CI job - we don't capture the 'build' path as a job artifact anymore, because that now only contains egg metadata, all the build artifacts are created by Python's build module under 'dist' so we capture that one instead - we always limit pytest to the 'tests' directory which was something 'setup.py test' used to do as a precaution measure, but setup.py no longer has the logic (which is fine) Signed-off-by: Erik Skultety <eskultet@redhat.com>