1
- ### Pynvim: Python client to [ Neovim] ( https://github.com/neovim/neovim )
1
+ Pynvim: Python client to [ Neovim] ( https://github.com/neovim/neovim )
2
+ ===================================================================
2
3
3
4
[ ![ Build Status] ( https://travis-ci.org/neovim/pynvim.svg?branch=master )] ( https://travis-ci.org/neovim/pynvim )
4
5
[ ![ Documentation Status] ( https://readthedocs.org/projects/pynvim/badge/?version=latest )] ( http://pynvim.readthedocs.io/en/latest/?badge=latest )
7
8
Pynvim implements support for python plugins in Nvim. It also works as a library for
8
9
connecting to and scripting Nvim processes through its msgpack-rpc API.
9
10
10
- #### Installation
11
+ Install
12
+ -------
11
13
12
14
Supports python 2.7, and 3.4 or later.
13
15
@@ -33,7 +35,8 @@ pip2 install .
33
35
pip3 install .
34
36
```
35
37
36
- #### Python Plugin API
38
+ Python Plugin API
39
+ -----------------
37
40
38
41
Pynvim supports python _ remote plugins_ (via the language-agnostic Nvim rplugin
39
42
interface), as well as _ Vim plugins_ (via the ` :python[3] ` interface). Thus when
@@ -53,7 +56,8 @@ Pynvim defines some extensions over the vim python API:
53
56
54
57
See the [ Python Plugin API] ( http://pynvim.readthedocs.io/en/latest/usage/python-plugin-api.html ) documentation for usage of this new functionality.
55
58
56
- #### Development
59
+ Development
60
+ -----------
57
61
58
62
Use (and activate) a local virtualenv.
59
63
@@ -73,7 +77,7 @@ For details about testing and troubleshooting, see the
73
77
[ development] ( http://pynvim.readthedocs.io/en/latest/development.html )
74
78
documentation.
75
79
76
- #### Usage through the python REPL
80
+ ### Usage from the Python REPL
77
81
78
82
A number of different transports are supported, but the simplest way to get
79
83
started is with the python REPL. First, start Nvim with a known address (or use
@@ -116,3 +120,17 @@ a running Neovim instance.
116
120
continuing startup.
117
121
118
122
See the tests for more examples.
123
+
124
+ Release
125
+ -------
126
+
127
+ 1 . Create a release commit with title ` Pynvim x.y.z `
128
+ - list significant changes in the commit message
129
+ - bump the version in ` pynvim/util.py ` and ` setup.py ` (3 places in total)
130
+ 2 . Make a release on GitHub with the same commit/version tag and copy the message.
131
+ 3 . Run ` scripts/disable_log_statements.sh `
132
+ 4 . Run ` python setup.py sdist `
133
+ - diff the release tarball ` dist/pynvim-x.y.z.tar.gz ` against the previous one.
134
+ 5 . Run ` twine upload -r pypi dist/pynvim-x.y.z.tar.gz `
135
+ - Assumes you have a pypi account with permissions.
136
+ 6 . Run ` scripts/enable_log_statements.sh ` or ` git reset --hard ` to restore the working dir.
0 commit comments