示例#1
0
"""Simple script to compute the api hash of the current API as defined by
numpy_api_order and ufunc_api_order."""
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)
示例#2
0
"""Simple script to compute the api hash of the current API.

The API has is defined by numpy_api_order and ufunc_api_order.

"""
from __future__ import division, absolute_import, print_function

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))
示例#3
0
"""Simple script to compute the api hash of the current API as defined by
numpy_api_order and ufunc_api_order."""
from os.path import join, dirname

from genapi import fullapi_hash

if __name__ == "__main__":
    curdir = dirname(__file__)
    files = [join(curdir, "numpy_api_order.txt"), join(curdir, "ufunc_api_order.txt")]
    print fullapi_hash(files)
示例#4
0
"""Simple script to compute the api hash of the current API.

The API has is defined by numpy_api_order and ufunc_api_order.

"""
from __future__ import division, absolute_import, print_function

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))
示例#5
0
"""Simple script to compute the api hash of the current API as defined by
numpy_api_order and ufunc_api_order."""
from os.path import join, dirname

from genapi import fullapi_hash
import numpy_api

if __name__ == '__main__':
    curdir = dirname(__file__)
    print fullapi_hash(numpy_api.full_api)
示例#6
0
"""Simple script to compute the api hash of the current API as defined by
numpy_api_order and ufunc_api_order."""
from os.path import join, dirname

from genapi import fullapi_hash

if __name__ == '__main__':
    curdir = dirname(__file__)
    files = [
        join(curdir, 'numpy_api_order.txt'),
        join(curdir, 'ufunc_api_order.txt')
    ]
    print fullapi_hash(files)