@@ -59,7 +59,7 @@ Release checklist
59
59
because this will be the output used by pypi _
60
60
61
61
* Check the dependencies listed in ``nipy/info.py `` (e.g.
62
- ``NUMPY_MIN_VERSION ``) and in ``doc/installation.rst ``. They should
62
+ ``NUMPY_MIN_VERSION ``) and in ``doc/users/ installation.rst ``. They should
63
63
at least match. Do they still hold? Make sure ``.travis.yml `` is testing
64
64
these minimum dependencies specifically.
65
65
@@ -75,12 +75,13 @@ Release checklist
75
75
76
76
* Do a final check on the `nipy buildbot `_
77
77
78
- * If you have travis-ci _ building set up you might want to push the code in its
79
- current state to a branch that will build, e.g::
78
+ * If you have travis-ci _ building set up on your own fork of nipy you might
79
+ want to push the code in its current state to a branch that will build,
80
+ e.g::
80
81
81
82
git branch -D pre-release-test # in case branch already exists
82
83
git co -b pre-release-test
83
- git push origin pre-release-test
84
+ git push your-github-user pre-release-test
84
85
85
86
* Make sure all the ``.c `` generated files are up to date with Cython sources
86
87
with::
@@ -122,33 +123,6 @@ Release checking - buildbots
122
123
Fix ``setup.py `` to carry across any files that should be in the distribution.
123
124
* Check the documentation doctests pass from
124
125
http://nipy.bic.berkeley.edu/builders/nipy-doc-builder
125
- * You may have virtualenvs for different python versions. Check the tests
126
- pass for different configurations. If you have pytox _ and a network
127
- connection, and lots of pythons installed, you might be able to do::
128
-
129
- tox
130
-
131
- and get tests for python 2.5, 2.6, 2.7, 3.2. I (MB) have my own set of
132
- virtualenvs installed and I've set them up to run with::
133
-
134
- tox -e python25,python26,python27,python32,np-1.2.1
135
-
136
- The trick was only to define these ``testenv `` sections in ``tox.ini ``.
137
-
138
- These two above run with::
139
-
140
- make tox-fresh
141
- make tox-stale
142
-
143
- respectively.
144
-
145
- The long-hand not-tox way looks like this::
146
-
147
- workon python26
148
- make sdist-tests
149
- deactivate
150
-
151
- etc for the different virtualenvs.
152
126
153
127
Doing the release
154
128
=================
@@ -187,27 +161,16 @@ Doing the release
187
161
builds will appear in http://nipy.bic.berkeley.edu/nipy-dist . Download the
188
162
builds and upload to pypi.
189
163
190
- * Trigger binary builds for OSX from the buildbots ``nipy-bdist-mpkg-2.6 ``,
191
- ``nipy-bdist-mpkg-2.7 ``, ``nipy-bdist-mpkg-3.3 ``. ``egg `` and ``mpkg `` builds
192
- will appear in http://nipy.bic.berkeley.edu/nipy-dist . Download the eggs and
193
- upload to pypi.
194
-
195
- * Download the ``mpkg `` builds, maybe with::
196
-
197
- scp -r buildbot@nipy.bic.berkeley.edu:nibotmi/public_html/nipy-dist/*.mpkg .
198
-
199
- Make sure you have `github bdist_mpkg`_ installed, for the root user. For
200
- each ``mpkg`` directory, run::
164
+ * Trigger binary builds for OSX from travis-ci:
201
165
202
- sudo reown_mpkg nipy-0.3.0.dev-py2.6-macosx10.6.mpkg root admin
203
- zip -r nipy-0.3.0.dev-py2.6-macosx10.6.mpkg.zip nipy-0.3.0.dev-py2.6-macosx10.6.mpkg
166
+ * https://travis-ci.org/MacPython/nipy-wheels
167
+ * https://github.com/MacPython/ nipy-wheels
204
168
205
- Upload the ``mpkg.zip`` files. (At the moment, these don't seem to store the
206
- scripts - needs more work)
169
+ Upload the resulting wheels to pypi from http://wheels.scipy.org;
207
170
208
- * Tag the release with tag of form ``0.3 .0 ``::
171
+ * Tag the release with tag of form ``0.5 .0 ``::
209
172
210
- git tag -am 'Second main release' 0.3 .0
173
+ git tag -am 'Second main release' 0.5 .0
211
174
212
175
* Now the version number is OK, push the docs to github pages with::
213
176
@@ -221,11 +184,11 @@ Doing the release
221
184
222
185
* Branch to maintenance::
223
186
224
- git co -b maint/0.2 .x
187
+ git co -b maint/0.5 .x
225
188
226
189
Set ``_version_extra`` back to ``.dev`` and bump ``_version_micro`` by 1.
227
- Thus the maintenance series will have version numbers like - say - '0.2 .1.dev'
228
- until the next maintenance release - say '0.2 .1'. Commit. Don't forget to
190
+ Thus the maintenance series will have version numbers like - say - '0.5 .1.dev'
191
+ until the next maintenance release - say '0.5 .1'. Commit. Don't forget to
229
192
push upstream with something like::
230
193
231
194
git push upstream maint/0.2.x --set-upstream
@@ -254,7 +217,6 @@ Doing the release
254
217
255
218
* Announce to the mailing lists.
256
219
257
- .. _pytox : http://codespeak.net/tox
258
220
.. _setuptools intro : http://packages.python.org/an_example_pypi_project/setuptools.html
259
221
.. _travis-ci : http://travis-ci.org
260
222
0 commit comments