diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2021-01-28 22:07:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-28 22:07:40 -0500 |
commit | 72d66bb1250518a588cd254a59655b28fd204731 (patch) | |
tree | fd79cf2104eafeb7f357491b8bb2ef54b0a8484c /setup.py | |
parent | 6210d23662b2cf45f837f01697beb61eef42eabf (diff) | |
parent | c7d0efc41dc5ec215ec6833e646397e232700f71 (diff) | |
download | cmd2-git-72d66bb1250518a588cd254a59655b28fd204731.tar.gz |
Merge branch 'master' into pr/docs/md/brokenlink
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -44,8 +44,9 @@ INSTALL_REQUIRES = [ ] EXTRAS_REQUIRE = { - # Windows also requires pyreadline to ensure tab completion works - ":sys_platform=='win32'": ['pyreadline'], + # Windows also requires pyreadline or the replacement, pyreadline3, to ensure tab completion works + ":sys_platform=='win32' and python_version<'3.8'": ["pyreadline"], + ":sys_platform=='win32' and python_version>='3.8'": ["pyreadline3"], # Extra dependencies for running unit tests 'test': [ "gnureadline; sys_platform=='darwin'", # include gnureadline on macOS to ensure it is available in nox env |