cversions.py 347 B

12345678910111213
  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 os.path import dirname
  5. from code_generators.genapi import fullapi_hash
  6. from code_generators.numpy_api import full_api
  7. if __name__ == '__main__':
  8. curdir = dirname(__file__)
  9. print(fullapi_hash(full_api))