| 83 | |
| 84 | = vdm releases = |
| 85 | |
| 86 | 1. Increase version number in vdm/__init__.py |
| 87 | 1. Add a changelog for this new version in vdm/CHANGELOG.txt |
| 88 | 1. Check-in the changes |
| 89 | 1. Tag the version: |
| 90 | {{{ |
| 91 | $ hg tag "vdm-0.8" |
| 92 | }}} |
| 93 | 1. Create a PYPI config file (~/.pypirc) if necessary: |
| 94 | {{{ |
| 95 | [distutils] |
| 96 | index-servers = |
| 97 | pypi |
| 98 | |
| 99 | [pypi] |
| 100 | #repository: http://www.python.org/pypi |
| 101 | username: joebloggs |
| 102 | password: mypassword |
| 103 | }}} |
| 104 | 1. Produce the distribution and upload to PYPI |
| 105 | {{{ |
| 106 | $ python setup.py sdist upload |
| 107 | }}} |
| 108 | 1. See the upload here: [[http://www.python.org/pypi/vdm]] |
| 109 | 1. Check that the setup.py for various branches of CKAN have the new version in their range (as appropriate). |
| 110 | 1. Check that the various pip-requirements.txt files also match the new version (as appropriate). |