#  Authors: <NAME> <<EMAIL>>
#            + All contributors to <https://github.com/smarie/python-m5p>
#
#  License: 3-clause BSD, <https://github.com/smarie/python-m5p/blob/main/LICENSE>

from m5py.main import M5Prime
from m5py.export import export_text_m5

try:
    # -- Distribution mode --
    # import from _version.py generated by setuptools_scm during release
    from ._version import version as __version__
except ImportError:
    # -- Source mode --
    # use setuptools_scm to get the current version from src using git
    from setuptools_scm import get_version as _gv
    from os import path as _path
    __version__ = _gv(_path.join(_path.dirname(__file__), _path.pardir))

__all__ = [
    "__version__",
    # submodules
    "main",
    "export",
    # symbols
    "M5Prime",
    "export_text_m5"
]

#  Authors: <NAME> <<EMAIL>>
#            + All contributors to <https://github.com/smarie/python-m5p>
#
#  License: 3-clause BSD, <https://github.com/smarie/python-m5p/blob/main/LICENSE>

from m5py.main import M5Prime
from m5py.export import export_text_m5

try:
    # -- Distribution mode --
    # import from _version.py generated by setuptools_scm during release
    from ._version import version as __version__
except ImportError:
    # -- Source mode --
    # use setuptools_scm to get the current version from src using git
    from setuptools_scm import get_version as _gv
    from os import path as _path
    __version__ = _gv(_path.join(_path.dirname(__file__), _path.pardir))

__all__ = [
    "__version__",
    # submodules
    "main",
    "export",
    # symbols
    "M5Prime",
    "export_text_m5"
]

#  Authors: <NAME> <<EMAIL>> #            + All contributors to <https://github.com/smarie/python-m5p> # #  License: 3-clause BSD, <https://github.com/smarie/python-m5p/blob/main/LICENSE> # -- Distribution mode -- # import from _version.py generated by setuptools_scm during release # -- Source mode -- # use setuptools_scm to get the current version from src using git # submodules # symbols