"""Parse and execute Pythonect code"""

# Version

try:

    from _version import __version__

    # Clean up namespace

    del _version

except ImportError as e:

    from internal.version import get_version

    __version__ = get_version()

    # Clean up namespace

    del e, get_version, internal


# Internals

    from internal.server import _XMLRPCManager

try:

# API

    from internal.eval import eval, parse


except ImportError as e:

    # When imported by setup.py, it's expected that not all the dependencies will be there

    pass
