summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-10-05 21:14:24 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2019-10-05 22:06:43 +0200
commit21b4c1e3b6e2867b9a0788d21a358f6b1f581d86 (patch)
treed34aac6dae345a641d80de46bc962088d5b07b8e /setup.py
parentbc6345d7fee1a7200bef5d717d1b2d00264d9e01 (diff)
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
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py8
1 files changed, 2 insertions, 6 deletions
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.*",