Permalink
Browse files

BUG: fix NPY_NO_DEPRECATED_API mechanism.

  • Loading branch information...
rgommers committed Feb 27, 2013
1 parent 985b267 commit 23b87a54f2e51ba107c179e3d5486c0c9375aefd
@@ -284,11 +284,14 @@ Now, set ``release=True`` in setup.py, then
git tag <version>
git push origin <version>
Update the version of the trunk
-------------------------------
Update the version of the master branch
---------------------------------------
Increment the release number in setup.py. Release candidates should have "rc1"
(or "rc2", "rcN") appended to the X.Y.Z format.
Also create a new version hash in cversions.txt and a corresponding version
define NPY_x_y_API_VERSION in numpyconfig.h
Make the release
----------------
The tar-files and binary releases for distribution should be uploaded to SourceForge,
@@ -5,11 +5,12 @@
"""
from __future__ import division
from os.path import join, dirname
from os.path import dirname
from genapi import fullapi_hash
import numpy_api
if __name__ == '__main__':
curdir = dirname(__file__)
print fullapi_hash(numpy_api.full_api)
@@ -1,4 +1,6 @@
# hash below were defined from numpy_api_order.txt and ufunc_api_order.txt
# Hash below were defined from numpy_api_order.txt and ufunc_api_order.txt
# When adding a new version here for a new minor release, also add the same
# version as NPY_x_y_API_VERSION in numpyconfig.h
0x00000001 = 603580d224763e58c5e7147f804dc0f5
0x00000002 = 8ecb29306758515ae69749c803a75da1
0x00000003 = bf22c0d05b31625d2a7015988d61ce5a
@@ -29,5 +29,6 @@
* #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
*/
#define NPY_1_7_API_VERSION 0x00000007
#define NPY_1_8_API_VERSION 0x00000008
#endif

0 comments on commit 23b87a5

Please sign in to comment.