From a503e9439e68b05b59d2a14ce9258acccdcc1a64 Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 11 Dec 2019 15:25:15 +0100 Subject: [PATCH] test_wheel: only install colorama on Windows --- makepanda/test_wheel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/test_wheel.py b/makepanda/test_wheel.py index 2236d84030..d3f936ec68 100755 --- a/makepanda/test_wheel.py +++ b/makepanda/test_wheel.py @@ -46,7 +46,7 @@ def test_wheel(wheel, verbose=False): # Install pytest into the environment, as well as our wheel. packages = ["pytest", wheel] - if sys.version_info[0:2] == (3, 4): + if sys.version_info[0:2] == (3, 4) and sys.platform == "win32": packages += ["colorama==0.4.1"] if subprocess.call([python, "-m", "pip", "install"] + packages) != 0: