Skip to content

Commit

Permalink
Do not try to install windows-curses in MSYS2
Browse files Browse the repository at this point in the history
  • Loading branch information
dobairoland committed Oct 4, 2019
1 parent f2ce282 commit 50717fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"',
),

Expand Down

0 comments on commit 50717fc

Please sign in to comment.