1 * Making a working tree
3 mkvirtualenv -p /usr/local/pythonz/pythons/CPython-2.7.11/bin/python coverage
5 pip install -r requirements/dev.pip
9 - Version number in coverage/version.py
10 version_info = (4, 0, 2, 'alpha', 1)
11 version_info = (4, 0, 2, 'beta', 1)
12 version_info = (4, 0, 2, 'candidate', 1)
13 version_info = (4, 0, 2, 'final', 0)
14 - Python version number in classifiers in setup.py
15 - Copyright date in NOTICE.txt
16 - Update CHANGES.rst, including release date.
17 - Update README.rst, including "New in x.y:"
19 - Version, date, and changes in doc/changes.rst
20 - Version, date and python versions in doc/index.rst
21 - Version and copyright date in doc/conf.py
22 - Don't forget the man page: doc/python-coverage.1.txt
23 - Check that the docs build correctly:
25 - Done with changes to source files, check them in.
27 - Generate new sample_html to get the latest, incl footer version number:
31 coverage run --branch --source=cogapp -m nose cogapp/test_cogapp.py:CogTestsInMemory
35 rm -f ~/coverage/trunk/doc/sample_html_beta/*.*
36 cp -r htmlcov/ ~/coverage/trunk/doc/sample_html_beta/
38 rm -f ~/coverage/trunk/doc/sample_html/*.*
39 cp -r htmlcov/ ~/coverage/trunk/doc/sample_html/
41 check in the new sample html
43 - Build and publish docs:
46 - Build and publish docs:
49 - Source kit and wheels:
50 - $ make clean kit wheel
52 - wait for over an hour for Appveyor to build kits.
53 - https://ci.appveyor.com/project/nedbat/coveragepy
54 - $ make download_appveyor
55 - examine the dist directory, and remove anything that looks malformed.
60 - Visit http://pypi.python.org/pypi?%3Aaction=pkg_edit&name=coverage :
61 - show/hide the proper versions.
63 - hg tag -m "Coverage 3.0.1" coverage-3.0.1
64 - Update nedbatchelder.com
67 - visit https://readthedocs.org/projects/coverage/versions/
68 - find the latest tag in the inactive list, edit it, make it active.
70 - visit https://readthedocs.org/dashboard/coverage/advanced/
71 - change the default version to the new version
73 - Issue tracker should get new version number in picker.
74 # Note: don't delete old version numbers: it marks changes on the tickets
76 - Announce on coveragepy-announce@googlegroups.com .
82 - Create PythonXX\Lib\distutils\distutils.cfg::
88 - Testing of Python code is handled by tox.
89 - Create and activate a virtualenv
90 - pip install -r requirements/dev.pip
93 - For complete coverage testing:
97 This will run coverage.py under its own measurement. You can do this in
98 different environments (Linux vs. Windows, for example), then copy the data
99 files (.metacov.*) to one machine for combination and reporting. To
104 - To run the Javascript tests:
106 open tests/js/index.html in variety of browsers.