From 09d187f4ca98f432a9edf0ec74e382d65a770f20 2024-05-31 13:15:42 From: M Bussonnier Date: 2024-05-31 13:15:42 Subject: [PATCH] Remove old Python2/3 informations from the Readme.rst --- diff --git a/README.rst b/README.rst index 2b179ab..837c3fb 100644 --- a/README.rst +++ b/README.rst @@ -96,58 +96,6 @@ Documentation and installation instructions for older version of IPython can be found on the `IPython website `_ - -IPython requires Python version 3 or above -========================================== - -Starting with version 6.0, IPython does not support Python 2.7, 3.0, 3.1, or -3.2. - -For a version compatible with Python 2.7, please install the 5.x LTS Long Term -Support version. - -If you are encountering this error message you are likely trying to install or -use IPython from source. You need to checkout the remote 5.x branch. If you are -using git the following should work:: - - $ git fetch origin - $ git checkout 5.x - -If you encounter this error message with a regular install of IPython, then you -likely need to update your package manager, for example if you are using `pip` -check the version of pip with:: - - $ pip --version - -You will need to update pip to the version 9.0.1 or greater. If you are not using -pip, please inquiry with the maintainers of the package for your package -manager. - -For more information see one of our blog posts: - - https://blog.jupyter.org/release-of-ipython-5-0-8ce60b8d2e8e - -As well as the following Pull-Request for discussion: - - https://github.com/ipython/ipython/pull/9900 - -This error does also occur if you are invoking ``setup.py`` directly – which you -should not – or are using ``easy_install`` If this is the case, use ``pip -install .`` instead of ``setup.py install`` , and ``pip install -e .`` instead -of ``setup.py develop`` If you are depending on IPython as a dependency you may -also want to have a conditional dependency on IPython depending on the Python -version:: - - install_req = ['ipython'] - if sys.version_info[0] < 3 and 'bdist_wheel' not in sys.argv: - install_req.remove('ipython') - install_req.append('ipython<6') - - setup( - ... - install_requires=install_req - ) - Alternatives to IPython =======================