diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2021-01-28 20:47:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-28 20:47:43 -0500 |
commit | 8268401838167decd02c38f39bd94355333ab077 (patch) | |
tree | ea88de7a27c3b71ed1295e96b1c72f260d98747a /setup.py | |
parent | a09ad27429e9bad2983db7f3ba4e7ab287459cab (diff) | |
parent | d5cebaef06719fdc01eba15e01fb70ef948e05c9 (diff) | |
download | cmd2-git-8268401838167decd02c38f39bd94355333ab077.tar.gz |
Merge branch 'master' into pr/doc/commands
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 |