virt-manager-4.0.0-setuptools-61-fix.patch 993 B

1234567891011121314151617181920212223242526272829303132333435
  1. From c6fc4524d4448259ea85f93f85898b64a4380154 Mon Sep 17 00:00:00 2001
  2. From: Peter Alfredsen <crabbedhaloablution@icloud.com>
  3. Date: Tue, 5 Apr 2022 22:04:20 +0200
  4. Subject: [PATCH] setup: add bits for setuptools-61
  5. Quoting https://github.com/pypa/setuptools/issues/3227
  6. "Setuptools >= 61, intentionally changes the way packages are built in the
  7. sensec that it will try to find files and fail if something is weird.
  8. Empty packages (like this one), are asked to explicitly add packages=[]
  9. to their configuration.
  10. This intentional change in behaviour is described in
  11. https://setuptools.pypa.io/en/latest/history.html#v61-0-0."
  12. Bug: https://bugs.gentoo.org/836645
  13. Signed-off-by: Peter Alfredsen <crabbedhaloablution@icloud.com>
  14. ---
  15. setup.py | 1 +
  16. 1 file changed, 1 insertion(+)
  17. diff --git a/setup.py b/setup.py
  18. index e95acd39..7e47e7c7 100755
  19. --- a/setup.py
  20. +++ b/setup.py
  21. @@ -547,4 +547,5 @@ setuptools.setup(
  22. },
  23. distclass=VMMDistribution,
  24. + packages=[],
  25. )
  26. --
  27. 2.35.1