From 21b4c1e3b6e2867b9a0788d21a358f6b1f581d86 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sat, 5 Oct 2019 21:14:24 +0200 Subject: Do not automatically install windows-curses on Windows It breaks installation with pip on MSYS2, and Kconfiglib can still be useful without the terminal menuconfig. Unfortunately, MSYS2 seems tricky to identify via environment markers (https://www.python.org/dev/peps/pep-0508/#environment-markers). This has breakage/annoyance potential, as windows-curses now needs to be installed manually. The major Kconfiglib version will be increased. Sorry if this change caused problems! Fixes: #77 --- setup.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 7e9ede4..e5dbbb9 100644 --- a/setup.py +++ b/setup.py @@ -61,12 +61,8 @@ setuptools.setup( ) }, - # 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. - install_requires=( - 'windows-curses; sys_platform == "win32"', - ), + # Note: windows-curses is not automatically installed on Windows anymore, + # because it made Kconfiglib impossible to install on MSYS2 with pip # Needs support for unnumbered {} in format() and argparse python_requires=">=2.7,!=3.0.*,!=3.1.*", -- cgit v1.2.3