f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt#!@PYTHON@
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt############################################################################
a450a32be2218d45c91add673c87b4e0f3d02f35Tinderbox User# Copyright (C) 2016, 2017 Internet Systems Consortium, Inc. ("ISC")
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# file, You can obtain one at http://mozilla.org/MPL/2.0/.
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt############################################################################
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Huntimport os
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Huntimport sys
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Huntsys.path.insert(0, os.path.dirname(sys.argv[0]))
9f5443280fcfd625a06f63a1b457ed2335840278Mark Andrewsif os.name != 'nt':
a22c3cf51567651f74aee5c263c597b8d752c2ccMichał Kępień if '@PYTHON_INSTALL_DIR@': # value of --with-python-install-dir
a22c3cf51567651f74aee5c263c597b8d752c2ccMichał Kępień sys.path.insert(1, '@PYTHON_INSTALL_DIR@')
a22c3cf51567651f74aee5c263c597b8d752c2ccMichał Kępień else:
a22c3cf51567651f74aee5c263c597b8d752c2ccMichał Kępień sys.path.insert(1, os.path.join('@prefix@', 'lib',
a22c3cf51567651f74aee5c263c597b8d752c2ccMichał Kępień 'python' + sys.version[:3], 'site-packages'))
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Huntimport isc.keymgr
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Huntif __name__ == "__main__":
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt isc.keymgr.main()