"""Copyright (c) 2018 Chaquo Ltd. All rights reserved.

Chaquopy contains parts of the following open-source software:

pip (https://github.com/pypa/pip/)
Copyright (c) 2008-2016 The pip developers

pyelftools (https://github.com/eliben/pyelftools)
Public domain by Eli Bendersky
Includes construct (Copyright (c) 2009 Tomer Filiba, 2010-2011 Corbin Simpson)

PyJNIus (https://github.com/kivy/pyjnius/)
Copyright (c) 2010-2017 Kivy Team and other contributors
"""

from __future__ import absolute_import, division, print_function

# On Android, the native module is stored separately to the Python modules.
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)

from .chaquopy import *  # noqa
from .chaquopy import chaquopy_init
from .primitive import *  # noqa

# This is the public API.
__all__ = [
    # .chaquopy
    "detach", "cast", "jclass",
    "dynamic_proxy", "static_proxy", "constructor", "method", "Override",
    "jarray", "set_import_enabled",

    # .primitive
    "jvoid", "jboolean", "jbyte", "jshort", "jint", "jlong", "jfloat", "jdouble", "jchar",
]


chaquopy_init()

"""Copyright (c) 2018 Chaquo Ltd. All rights reserved.

Chaquopy contains parts of PyJNIus. The following notice applies to those parts:

    Copyright (c) 2010-2017 Kivy Team and other contributors

    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in
    all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    THE SOFTWARE.
"""

from __future__ import absolute_import, division, print_function

# On Android, the native module is stored separately to the Python modules.
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)

from .chaquopy import *  # noqa
from .chaquopy import chaquopy_init
from .primitive import *  # noqa

# This is the public API.
__all__ = [
    # .chaquopy
    "detach", "cast", "jclass",
    "dynamic_proxy", "static_proxy", "constructor", "method", "Override",
    "jarray", "set_import_enabled",

    # .primitive
    "jvoid", "jboolean", "jbyte", "jshort", "jint", "jlong", "jfloat", "jdouble", "jchar",
]


chaquopy_init()

Add full PyJNIus license notice: this completes license compliance for the Gradle plugin and runtime (refs #5405)