1# This file is dual licensed under the terms of the Apache License, Version 2# 2.0, and the BSD License. See the LICENSE file in the root of this repository 3# for complete details. 4 5from __future__ import absolute_import, division, print_function 6 7import os 8 9from cryptography_vectors.__about__ import ( 10 __author__, 11 __copyright__, 12 __email__, 13 __license__, 14 __summary__, 15 __title__, 16 __uri__, 17 __version__, 18) 19 20 21__all__ = [ 22 "__title__", 23 "__summary__", 24 "__uri__", 25 "__version__", 26 "__author__", 27 "__email__", 28 "__license__", 29 "__copyright__", 30] 31 32 33def open_vector_file(filename, mode): 34 base = os.path.dirname(__file__) 35 return open(os.path.join(base, filename), mode) 36