| 1 |
* create a release branch ('vX.Y.Zrel'). In the release branch... |
| 2 |
* make sure version number in cftime/_cftime.pyx is correct. |
| 3 |
* update README.md as needed. |
| 4 |
* commit and push all of the above changes. |
| 5 |
* create a pull request for the release branch. |
| 6 |
* After release branch has been merged, tag a release |
| 7 |
% git tag -a vX.Y.Zrel -m "version X.Y.Z release" |
| 8 |
% git push origin --tags |
| 9 |
Then create a release on github from that tag. |
| 10 |
* Update the BUILD_COMMIT variable in .travis.yml and appveyor.yml |
| 11 |
in https://github.com/MacPython/cftime-wheels. |
| 12 |
Push those changes to trigger the binary wheel builds (for |
| 13 |
macos x, linux and windows). |
| 14 |
* run check-manifest --verbose to check that source tarball will be OK. |
| 15 |
* Download the binary wheels from wheels.scipy.org, put them in a |
| 16 |
directory called 'upload'. Create a source tarball using |
| 17 |
% python setup.py clean |
| 18 |
% python setup.py clean_cython |
| 19 |
% python setup.py sdist |
| 20 |
Add the source tarball to the 'upload' directory. |
| 21 |
* upload the release files to pypi with twine |
| 22 |
(twine upload upload/*). This will require creating a ~/.pypirc |
| 23 |
file with your pypi login credentials. |