| 1 |
# Developer Notes / Tools |
| 2 |
|
| 3 |
Assorted notes for developers. |
| 4 |
|
| 5 |
## How to do a release |
| 6 |
|
| 7 |
<!-- This is outdated now! --> |
| 8 |
|
| 9 |
- Update the whatsnew.rst document. Use the github view that shows all the commits to master since the last release to write it. |
| 10 |
- Update the version number in `setup.py`, change `ISRELEASED` to `True` |
| 11 |
- Commit to master, and [tag](https://github.com/choderalab/pymbar/releases) the release on github |
| 12 |
- To push the source to PyPI, use `python setup.py sdist --formats=gztar,zip upload` |
| 13 |
- Conda binaries need to built separately on each platform (`conda build pymbar; binstar upload <path to .tar.bz2>`) |
| 14 |
- Make an annoucement on github / email |
| 15 |
- After tagging the release, make a NEW commit that changes `ISRELEASED` back to `False` in `setup.py` |
| 16 |
|
| 17 |
It's important that the version which is tagged on github for the release be |
| 18 |
the one with the ISRELEASED flag in setup.py set to true. |