commit | author | age
|
66fcbf
|
1 |
Releasing Pyramid |
CM |
2 |
================= |
|
3 |
|
ad508e
|
4 |
- git pull |
CM |
5 |
|
47a6bb
|
6 |
- Do platform test via tox: |
CM |
7 |
|
|
8 |
$ tox |
|
9 |
|
|
10 |
- Make sure statement coverage is at 100%:: |
66fcbf
|
11 |
|
CM |
12 |
$ python setup.py nosetests --with-coverage |
|
13 |
|
e85fd7
|
14 |
- Make sure all scaffold tests pass: |
d6cc11
|
15 |
|
e85fd7
|
16 |
$ python pyramid/scaffolds/tests.py |
d6cc11
|
17 |
|
66fcbf
|
18 |
- Ensure all features of the release are documented (audit CHANGES.txt or |
CM |
19 |
communicate with contributors). |
|
20 |
|
|
21 |
- Copy relevant changes (delta bug fixes) from CHANGES.txt to |
cc85e7
|
22 |
docs/whatsnew-X.X (if it's a major release). |
66fcbf
|
23 |
|
CM |
24 |
- Make sure docs render OK:: |
|
25 |
|
|
26 |
$ cd docs |
|
27 |
$ make clean html |
|
28 |
|
|
29 |
There should be no meaningful errors or warnings. |
|
30 |
|
142f9a
|
31 |
- Change setup.py version to the new version number. |
66fcbf
|
32 |
|
CM |
33 |
- Change docs/conf.py version to the new version number. |
|
34 |
|
|
35 |
- Change CHANGES.txt heading to reflect the new version number. |
|
36 |
|
|
37 |
- Make sure PyPI long description renders (requires ``collective.dist`` |
|
38 |
installed into your Python):: |
|
39 |
|
|
40 |
$ python setup.py check --restructuredtext |
|
41 |
|
|
42 |
- Create a release tag. |
|
43 |
|
|
44 |
- Release to PyPI:: |
|
45 |
|
|
46 |
$ python setup.py sdist register upload |
|
47 |
|
|
48 |
- Edit `http://wiki.python.org/moin/WebFrameworks |
|
49 |
<http://wiki.python.org/moin/WebFrameworks>`_. |
|
50 |
|
|
51 |
- Publish new version of docs. |
|
52 |
|
|
53 |
- Announce to maillist. |
|
54 |
|
|
55 |
- Announce to Twitter. |
|
56 |
|
5aeb91
|
57 |
Announcement template |
CM |
58 |
---------------------- |
66fcbf
|
59 |
|
5aeb91
|
60 |
Pyramid 1.1.X has been released. |
CM |
61 |
|
|
62 |
Here are the changes: |
|
63 |
|
|
64 |
<<changes>> |
|
65 |
|
|
66 |
A "What's New In Pyramid 1.1" document exists at |
|
67 |
http://docs.pylonsproject.org/projects/pyramid/1.1/whatsnew-1.1.html . |
|
68 |
|
|
69 |
You will be able to see the 1.1 release documentation (across all |
|
70 |
alphas and betas, as well as when it eventually gets to final release) |
|
71 |
at http://docs.pylonsproject.org/projects/pyramid/1.1/ . |
|
72 |
|
|
73 |
You can install it via PyPI: |
|
74 |
|
|
75 |
easy_install Pyramid==1.1a4 |
|
76 |
|
|
77 |
Enjoy, and please report any issues you find to the issue tracker at |
|
78 |
https://github.com/Pylons/pyramid/issues |
|
79 |
|
|
80 |
Thanks! |
|
81 |
|
|
82 |
- C |