mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-18 15:47:51 -06:00
fix: install setuptools for the packaging guard
This commit is contained in:
1 parent
af3c90e448
commit
cb17145665
5 files changed
+12
-3
No files matched your search
@@ -2766,6 +2766,10 @@ class TheProjectInstallsWithPip(unittest.TestCase):
|
||||
import importlib.util # noqa: PLC0415
|
||||
|
||||
if importlib.util.find_spec("setuptools") is None:
|
||||
# The dev extra and CI install it: skipped there, the guard held
|
||||
# nothing on any run.
|
||||
if os.environ.get("CI"):
|
||||
self.fail("CI must install setuptools")
|
||||
self.skipTest("setuptools is not installed")
|
||||
program = (
|
||||
"from setuptools.dist import Distribution\n"
|
||||
|
||||
Reference in new issue
Block a user