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__, __copyright__, __email__, __license__, __summary__, __title__, 11 __uri__, __version__ 12) 13 14 15__all__ = [ 16 "__title__", "__summary__", "__uri__", "__version__", "__author__", 17 "__email__", "__license__", "__copyright__", 18] 19 20 21def open_vector_file(filename, mode): 22 base = os.path.dirname(__file__) 23 return open(os.path.join(base, filename), mode) 24