1# 2# Copyright (c) 2011-2018 JEP AUTHORS. 3# 4# This file is licensed under the the zlib/libpng License. 5# 6# This software is provided 'as-is', without any express or implied 7# warranty. In no event will the authors be held liable for any 8# damages arising from the use of this software. 9# 10# Permission is granted to anyone to use this software for any 11# purpose, including commercial applications, and to alter it and 12# redistribute it freely, subject to the following restrictions: 13# 14# 1. The origin of this software must not be misrepresented; you 15# must not claim that you wrote the original software. If you use 16# this software in a product, an acknowledgment in the product 17# documentation would be appreciated but is not required. 18# 19# 2. Altered source versions must be plainly marked as such, and 20# must not be misrepresented as being the original software. 21# 22# 3. This notice may not be removed or altered from any source 23# distribution. 24# 25 26try: 27 from _jep import * 28except ImportError: 29 raise ImportError("Jep is not supported in standalone Python, it must be embedded in Java.") 30from .version import __VERSION__, VERSION 31from .java_import_hook import * 32from .shared_modules_hook import * 33