blob: 18f70ff078d8e068aeaa75895e0c19415dd757c6 (
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
|
Release Process
===============
1. Preparation
1. Check if the dependencies of the package are correct
2. Update the version number in __pkginfo__
3. Put the version number and the release date into the changelog
4. Submit your changes.
2. If releasing a major or minor version, generate the new copyright notices for this release:
$ copyrite --contribution-threshold 1 --change-threshold 3 --backend-type git --aliases=.copyrite_aliases . --jobs=8
3. Make sure the tests are passing on Travis:
https://travis-ci.org/PyCQA/astroid/
4. Add a new tag 'astroid-$VERSION'
5. Publish all remaining changes to the Github repository:
https://github.com/PyCQA/astroid
6. Run
$ git clean -fd && find . -name '*.pyc' -delete
$ rm dist/*
$ python setup.py sdist --formats=gztar bdist_wheel
$ twine upload dist/*
to release a new version to PyPI.
|