cversions.py 413 B

123456789101112131415
  1. """Simple script to compute the api hash of the current API.
  2. The API has is defined by numpy_api_order and ufunc_api_order.
  3. """
  4. from __future__ import division, absolute_import, print_function
  5. from os.path import dirname
  6. from code_generators.genapi import fullapi_hash
  7. from code_generators.numpy_api import full_api
  8. if __name__ == '__main__':
  9. curdir = dirname(__file__)
  10. print(fullapi_hash(full_api))