forked from imeji-community/pyimeji
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RELEASING.txt
46 lines (26 loc) · 852 Bytes
/
RELEASING.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Releasing pyimeji
=================
Clone imeji-community/pyimeji and switch to the master branch. Then:
- Do platform test via tox:
$ tox -r
Make sure statement coverage is at 100%
- Make sure flake8 passes::
$ flake8 --ignore=E711,E712,D100,D101,D103,D102,D301 --max-line-length=100 pyimeji
- Make sure docs render OK::
$ cd docs
$ make clean html
- Change version to the new version number in
- setup.py
- pyimeji/__init__.py
- docs/conf.py
- Bump version number:
$ git commit -a -m"bumbed version number"
- Create a release tag:
$ git tag -a v<version> -m"first version to be released on pypi"
- Push to github:
$ git push origin
$ git push --tags
- Make sure your system Python has ``setuptools-git`` installed and release to
PyPI::
$ git checkout tags/v$1
$ python setup.py sdist register upload