From 04949501c6e12e02b225bad45c521cca2288bdca Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 5 Nov 2015 20:48:18 +0100 Subject: [PATCH] Fix annoying 'rpm not found' error on Windows --- makepanda/installpanda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/installpanda.py b/makepanda/installpanda.py index 41e78bc85a..fa9c744927 100644 --- a/makepanda/installpanda.py +++ b/makepanda/installpanda.py @@ -127,7 +127,7 @@ def GetLibDir(): something like "lib" or "lib64" or in some cases, something similar to "lib/x86_64-linux-gnu". """ - if sys.platform == "darwin": + if sys.platform in ("darwin", "win32", "cygwin"): return "lib" # This one's a bit tricky. Some systems require us to install