@@ -23,18 +23,16 @@ Prepare new release branch
23
23
24
24
- On release branch:
25
25
26
- $ git pull
27
-
28
- - Do platform test via tox:
26
+ git pull
29
27
30
28
- Make sure your Python has ``setuptools-git``, ``twine``, and ``wheel``
31
29
installed:
32
30
33
- $ $ VENV/bin/easy_install setuptools-git twine wheel
31
+ $VENV/bin/pip install setuptools-git twine wheel
34
32
35
33
- Do a platform test:
36
34
37
- $ tox -r
35
+ tox -r
38
36
39
37
- Ensure all features of the release are documented (audit CHANGES.txt or
40
38
communicate with contributors).
@@ -44,9 +42,6 @@ Prepare new release branch
44
42
- Update README.rst to use correct versions of badges and URLs according to
45
43
each branch and context, i.e., RTD "latest" == GitHub/Travis "2.0-branch".
46
44
47
- - Update whatsnew-X.X.rst in docs to point at change log entries for
48
- individual releases if applicable.
49
-
50
45
- For major version releases, in contributing.md, update branch descriptions.
51
46
52
47
- For major version releases, in docs/conf.py, update values under
@@ -56,26 +51,26 @@ Prepare new release branch
56
51
57
52
- Change setup.py version to the release version number.
58
53
59
- - Make sure PyPI long description renders (requires ``collective.dist``
60
- installed into your Python)::
54
+ - Run a check with black, ensure the PyPI long description renders, and run
55
+ check-manifest with the following command.
61
56
62
- $ $ VENV/bin/python setup.py check -r
57
+ $VENV/bin/tox -e lint
63
58
64
59
- Build an sdist and a wheel:
65
60
66
- $ $ VENV/bin/python setup.py sdist bdist_wheel
61
+ $VENV/bin/tox -e build
67
62
68
63
- Release the wheels to PyPI:
69
64
70
- $ $ VENV/bin/twine upload dist/deform-X.Y*
65
+ $VENV/bin/twine upload dist/deform-X.Y.Z *
71
66
72
67
- Upload a git tag for the release:
73
68
74
- $ git tag X.Y
75
- $ git push origin X.Y
69
+ git tag X.Y.Z
70
+ git push origin X.Y.Z
76
71
77
- - Update RTD to render a new version of the docs at that tag X.Y and set X.Y
78
- as the default branch such that /latest/ points to it.
72
+ - Update RTD to render a new version of the docs at that tag X.Y.Z and set
73
+ X.Y.Z as the default branch such that `` /latest/`` points to it.
79
74
80
75
- Publish new version of docs.
81
76
@@ -87,7 +82,7 @@ Prepare new release branch
87
82
Deform 2.x released.
88
83
89
84
PyPI
90
- https://pypi.python. org/pypi /deform/2.x
85
+ https://pypi.org/project /deform/2.X.X
91
86
92
87
=== One time only for new version, first pre-release ===
93
88
What's New
@@ -109,15 +104,17 @@ Here are the changes:
109
104
110
105
<<changes>>
111
106
112
- Links
107
+ Widget demos
108
+ https://deformdemo.repoze.org/
113
109
114
- - Widget demos http://deformdemo.repoze.org/
110
+ Documentation
111
+ https://docs.pylonsproject.org/projects/deform/en/latest/
115
112
116
- - Documentation http://docs.pylonsproject.org/projects/deform/en/master/
113
+ GitHub
114
+ https://github.com/pylons/deform
117
115
118
- - Github https://github.com/pylons/deform
119
-
120
- - PyPi https://pypi.python.org/pypi/deform/
116
+ PyPI
117
+ https://pypi.org/project/deform/2.X.X
121
118
122
119
Enjoy, and please report any issues you find to the issue tracker at
123
120
https://github.com/Pylons/deform/issues
0 commit comments