From 7dc4fc5d74690da3b59af18316b72a5b4b656f7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= Date: Thu, 26 Jan 2017 08:24:49 +0100 Subject: [PATCH] Add Haiku to the known OS list --- setup/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/__init__.py b/setup/__init__.py index 7d4c49734d..f6c57a8abb 100644 --- a/setup/__init__.py +++ b/setup/__init__.py @@ -15,7 +15,8 @@ isfreebsd = 'freebsd' in sys.platform isnetbsd = 'netbsd' in sys.platform isdragonflybsd = 'dragonfly' in sys.platform isbsd = isnetbsd or isfreebsd or isdragonflybsd -islinux = not isosx and not iswindows and not isbsd +ishaiku = 'haiku1' in sys.platform +islinux = not isosx and not iswindows and not isbsd and not ishaiku sys.setup_dir = os.path.dirname(os.path.abspath(__file__)) SRC = os.path.abspath(os.path.join(os.path.dirname(sys.setup_dir), 'src')) sys.path.insert(0, SRC)