Skip to content

Commit a087534

Browse files
committed
docs: python 2 is not supported
1 parent 82a2e14 commit a087534

File tree

1 file changed

+11
-22
lines changed

1 file changed

+11
-22
lines changed

README.md

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
Pynvim: Python client to [Neovim](https://github.com/neovim/neovim)
22
===================================================================
33

4-
[![Build Status](https://travis-ci.org/neovim/pynvim.svg?branch=master)](https://travis-ci.org/neovim/pynvim)
54
[![Documentation Status](https://readthedocs.org/projects/pynvim/badge/?version=latest)](https://pynvim.readthedocs.io/en/latest/?badge=latest)
65
[![Code coverage](https://codecov.io/gh/neovim/pynvim/branch/master/graph/badge.svg)](https://codecov.io/gh/neovim/pynvim)
76

@@ -11,29 +10,19 @@ connecting to and scripting Nvim processes through its msgpack-rpc API.
1110
Install
1211
-------
1312

14-
Supports python 2.7, and 3.4 or later.
13+
Supports python 3.10 or later.
1514

16-
```sh
17-
pip2 install pynvim
18-
pip3 install pynvim
19-
```
20-
21-
If you only use one of python2 or python3, it is enough to install that
22-
version. You can install the package without being root by adding the `--user`
23-
flag.
15+
pip3 install pynvim
2416

17+
You can install the package without being root by adding the `--user` flag.
2518
Anytime you upgrade Neovim, make sure to upgrade pynvim as well:
26-
```sh
27-
pip2 install --upgrade pynvim
28-
pip3 install --upgrade pynvim
29-
```
3019

31-
Alternatively, the master version could be installed by executing the following
32-
in the root of this repository:
33-
```sh
34-
pip2 install .
35-
pip3 install .
36-
```
20+
pip3 install --upgrade pynvim
21+
22+
Alternatively, you can install the development version by cloning this
23+
repository and executing the following at the top level:
24+
25+
pip3 install .
3726

3827
Python Plugin API
3928
-----------------
@@ -61,8 +50,8 @@ Development
6150

6251
Use (and activate) a local virtualenv.
6352

64-
python3 -m venv env36
65-
source env36/bin/activate
53+
python3 -m virtualenv venv
54+
source venv/bin/activate
6655

6756
If you change the code, you must reinstall for the changes to take effect:
6857

0 commit comments

Comments
 (0)