Skip to content

Commit 9870f9a

Browse files
authored
doc: release #429
closes #428
1 parent dd45f83 commit 9870f9a

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

README.md

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
### Pynvim: Python client to [Neovim](https://github.com/neovim/neovim)
1+
Pynvim: Python client to [Neovim](https://github.com/neovim/neovim)
2+
===================================================================
23

34
[![Build Status](https://travis-ci.org/neovim/pynvim.svg?branch=master)](https://travis-ci.org/neovim/pynvim)
45
[![Documentation Status](https://readthedocs.org/projects/pynvim/badge/?version=latest)](http://pynvim.readthedocs.io/en/latest/?badge=latest)
@@ -7,7 +8,8 @@
78
Pynvim implements support for python plugins in Nvim. It also works as a library for
89
connecting to and scripting Nvim processes through its msgpack-rpc API.
910

10-
#### Installation
11+
Install
12+
-------
1113

1214
Supports python 2.7, and 3.4 or later.
1315

@@ -33,7 +35,8 @@ pip2 install .
3335
pip3 install .
3436
```
3537

36-
#### Python Plugin API
38+
Python Plugin API
39+
-----------------
3740

3841
Pynvim supports python _remote plugins_ (via the language-agnostic Nvim rplugin
3942
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:
5356

5457
See the [Python Plugin API](http://pynvim.readthedocs.io/en/latest/usage/python-plugin-api.html) documentation for usage of this new functionality.
5558

56-
#### Development
59+
Development
60+
-----------
5761

5862
Use (and activate) a local virtualenv.
5963

@@ -73,7 +77,7 @@ For details about testing and troubleshooting, see the
7377
[development](http://pynvim.readthedocs.io/en/latest/development.html)
7478
documentation.
7579

76-
#### Usage through the python REPL
80+
### Usage from the Python REPL
7781

7882
A number of different transports are supported, but the simplest way to get
7983
started is with the python REPL. First, start Nvim with a known address (or use
@@ -116,3 +120,17 @@ a running Neovim instance.
116120
continuing startup.
117121

118122
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

Comments
 (0)