mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
test_wheel: only install colorama on Windows
This commit is contained in:
parent
1568d1c6b1
commit
a503e9439e
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user