From 50717fc65caa4970837693a9dfe54807e81c8654 Mon Sep 17 00:00:00 2001 From: Roland Dobai Date: Fri, 4 Oct 2019 10:49:27 +0200 Subject: [PATCH] Do not try to install windows-curses in MSYS2 Closes https://github.com/ulfalizer/Kconfiglib/issues/77 --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.py b/setup.py index 839bbb84..5a3f080f 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,11 @@ # The terminal menuconfig implementation uses the standard Python 'curses' # module. The windows-curses package makes it available on Windows. See # https://github.com/zephyrproject-rtos/windows-curses. + # Note: windows-curses cannot be installed (and is not required) in MSYS2 + # on Windows. MSYS2 can be detected only by the MSYSTEM environment + # variable. install_requires=( + '' if 'MSYSTEM' in os.environ else \ 'windows-curses; sys_platform == "win32"', ),