diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2019-07-23 10:17:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-23 10:17:07 -0500 |
commit | 1de750537097ffca1ca3c931a1f36370e51432da (patch) | |
tree | 3481fbbabc7973c3a7d5fd2907b090bd106ddada /numpy/core/setup_common.py | |
parent | 2b7e4234e95ed4acfde74c2e362508e4566e158b (diff) | |
parent | 8727cae494004e621fd099f32b601e4498721e69 (diff) | |
download | numpy-1de750537097ffca1ca3c931a1f36370e51432da.tar.gz |
Merge pull request #14060 from sethtroisi/cversion_py
DOC: Update cversions.py links and wording
Diffstat (limited to 'numpy/core/setup_common.py')
-rw-r--r-- | numpy/core/setup_common.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py index 307fab334..6e3109ab5 100644 --- a/numpy/core/setup_common.py +++ b/numpy/core/setup_common.py @@ -14,7 +14,7 @@ from numpy.distutils.misc_util import mingw32 #------------------- # How to change C_API_VERSION ? # - increase C_API_VERSION value -# - record the hash for the new C API with the script cversions.py +# - record the hash for the new C API with the cversions.py script # and add the hash to cversions.txt # The hash values are used to remind developers when the C API number was not # updated - generates a MismatchCAPIWarning warning which is turned into an @@ -88,14 +88,13 @@ def check_api_version(apiversion, codegen_dir): # codegen_dir have been updated without the API version being # updated. Any modification in those .txt files should be reflected # in the api and eventually abi versions. - # To compute the checksum of the current API, use - # code_generators/cversions.py script + # To compute the checksum of the current API, use numpy/core/cversions.py if not curapi_hash == api_hash: msg = ("API mismatch detected, the C API version " "numbers have to be updated. Current C api version is %d, " - "with checksum %s, but recorded checksum for C API version %d in " - "codegen_dir/cversions.txt is %s. If functions were added in the " - "C API, you have to update C_API_VERSION in %s." + "with checksum %s, but recorded checksum for C API version %d " + "in core/codegen_dir/cversions.txt is %s. If functions were " + "added in the C API, you have to update C_API_VERSION in %s." ) warnings.warn(msg % (apiversion, curapi_hash, apiversion, api_hash, __file__), |