commit | author | age
|
66fcbf
|
1 |
Releasing Pyramid |
CM |
2 |
================= |
|
3 |
|
|
4 |
- Make sure all unit tests pass and statement coverage is at 100%:: |
|
5 |
|
|
6 |
$ python setup.py nosetests --with-coverage |
|
7 |
|
d6cc11
|
8 |
- Make sure paster templates pass: |
CM |
9 |
|
|
10 |
$ python template_tests.py |
|
11 |
|
66fcbf
|
12 |
- Ensure all features of the release are documented (audit CHANGES.txt or |
CM |
13 |
communicate with contributors). |
|
14 |
|
|
15 |
- Copy relevant changes (delta bug fixes) from CHANGES.txt to |
|
16 |
docs/whatsnew-X.X. |
|
17 |
|
|
18 |
- Make sure docs render OK:: |
|
19 |
|
|
20 |
$ cd docs |
|
21 |
$ make clean html |
|
22 |
|
|
23 |
There should be no meaningful errors or warnings. |
|
24 |
|
142f9a
|
25 |
- Change setup.py version to the new version number. |
66fcbf
|
26 |
|
CM |
27 |
- Change docs/conf.py version to the new version number. |
|
28 |
|
|
29 |
- Change CHANGES.txt heading to reflect the new version number. |
|
30 |
|
|
31 |
- Make sure PyPI long description renders (requires ``collective.dist`` |
|
32 |
installed into your Python):: |
|
33 |
|
|
34 |
$ python setup.py check --restructuredtext |
|
35 |
|
|
36 |
- Create a release tag. |
|
37 |
|
|
38 |
- Release to PyPI:: |
|
39 |
|
|
40 |
$ python setup.py sdist register upload |
|
41 |
|
|
42 |
- Edit `http://wiki.python.org/moin/WebFrameworks |
|
43 |
<http://wiki.python.org/moin/WebFrameworks>`_. |
|
44 |
|
|
45 |
- Publish new version of docs. |
|
46 |
|
|
47 |
- Announce to maillist. |
|
48 |
|
|
49 |
- Announce to Twitter. |
|
50 |
|
|
51 |
|