diff options
author | Kyle King <KyleKing@users.noreply.github.com> | 2021-01-27 19:16:43 -0500 |
---|---|---|
committer | Kyle King <KyleKing@users.noreply.github.com> | 2021-01-27 19:16:43 -0500 |
commit | a96c0f53b2a62a94582624c76c7d990012891204 (patch) | |
tree | 7cd0010127ae50250e0843cab31540ec05e5806d /docs | |
parent | 44eb9d4e1946a3cc9a10fe85ccb617b6076f627c (diff) | |
download | cmd2-git-a96c0f53b2a62a94582624c76c7d990012891204.tar.gz |
Update conditional pyreadline3 dependency for Win
Diffstat (limited to 'docs')
-rw-r--r-- | docs/overview/integrating.rst | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/overview/integrating.rst b/docs/overview/integrating.rst index db5cb206..041083bc 100644 --- a/docs/overview/integrating.rst +++ b/docs/overview/integrating.rst @@ -26,10 +26,13 @@ Windows Considerations If you would like to use :ref:`features/completion:Completion`, and you want your application to run on Windows, you will need to ensure you install the -``pyreadline`` package. Make sure to include the following in your -``setup.py``:: +``pyreadline3`` or ``pyreadline`` package. Make sure to include the following +in your ``setup.py``:: install_requires=[ 'cmd2>=1,<2', - ":sys_platform=='win32'": ['pyreadline'], + ":sys_platform=='win32'": [ + "pyreadline ; python_version<'3.8'", + "pyreadline3 ; python_version>='3.8'", # pyreadline3 is a drop-in replacement for Python 3.8 and above + ], ] |