summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-28 22:26:34 -0500
committerGitHub <noreply@github.com>2021-01-28 22:26:34 -0500
commitf8b2407b6079853fdfdd5878480c6883e2c18ded (patch)
treeb715094fcca02b75cd98780eac2b23e18ad3f2ec /setup.py
parent188f251fa339eda74a97a790ac33b02a18363462 (diff)
parentb329218f3c96398840776b48403323214d7b489b (diff)
downloadcmd2-git-f8b2407b6079853fdfdd5878480c6883e2c18ded.tar.gz
Merge branch 'master' into header_tabs
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 5e2995a9..6b438b13 100755
--- a/setup.py
+++ b/setup.py
@@ -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