summaryrefslogtreecommitdiff
path: root/howto.txt
blob: ed5822134526132afdedb13fe8c3bd49f223f238 (plain)
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
46
47
48
49
50
51
52
53
54
* Release checklist

- Test on:
    - Windows
    - Ubuntu
    - Mac
    - Pythons 2.3, 2.4, 2.5, 2.6, 3.1
- Version number in coverage/__init__.py
    - 3.1a1, 3.1b1, 3.1c1, 3.1
- Update CHANGES, including release date.
- Update docstring in setup.py, including "New in x.y:"
- Update docs
    - Version, date, and changes in doc/changes.rst
    - Version and date in doc/index.rst
    - Version and copyright date in doc/conf.py
    - Generate new sample_html to get the latest, incl footer version number:
        cd C:\ned\cog\trunk
        rmdir/s/q htmlcov
        coverage run --branch cogapp\test_cogapp.py CogTestsInMemory
        coverage html -i -d htmlcov
        copy htmlcov\*.* C:\ned\coverage\trunk\doc\sample_html
    - Build and publish docs:
        $ make px publish
- Kits:
    - source .tgz and windows .exe for each Python
        - $ allkits.cmd
- Update PyPi:
    - $ make pypi
    - upload the kits:
        - $ allkits.cmd upload
    - Visit http://pypi.python.org/pypi?%3Aaction=pkg_edit&name=coverage :
        - show/hide the proper versions.
- Tag the tree
    - hg tag -m "Coverage 3.0.1" coverage-3.0.1
- Update nedbatchelder.com
    - Blog post?
- Update bitbucket:
    - Issue tracker should get new version number in picker.
- Announce on TIP.



* Testing

(automate these someday)

- On Py 2.x: need setuptools installed
- On Py 3.x: need Distribute installed
- In each Python installation to be used, create a "coverage_test_egg.pth"
  containing::

    c:\ned\coverage\trunk\test\eggsrc\dist\covtestegg1-0.0.0-py2.5.egg

  (or equivalent).