pyTRLCConverter.version

This module provides version and author information.

Author: Andreas Merkle (andreas.merkle@newtec.de)

Attributes

__author__

__email__

__license__

__repository__

__version__

Functions

init_from_metadata()

Initialize dunders from importlib.metadata

init_from_toml()

Initialize dunders from pypackage.toml file

resource_path(relative_path)

Get the absolute path to the resource, works for dev and for PyInstaller

Module Contents

pyTRLCConverter.version.init_from_metadata()[source]

Initialize dunders from importlib.metadata Requires that the package was installed.

Returns:

Tool related information

Return type:

list

pyTRLCConverter.version.init_from_toml()[source]

Initialize dunders from pypackage.toml file

Tried if package wasn’t installed.

Returns:

Tool related information

Return type:

list

pyTRLCConverter.version.resource_path(relative_path)[source]

Get the absolute path to the resource, works for dev and for PyInstaller

pyTRLCConverter.version.__author__ = '???'
pyTRLCConverter.version.__email__ = '???'
pyTRLCConverter.version.__license__ = '???'
pyTRLCConverter.version.__repository__ = '???'
pyTRLCConverter.version.__version__ = '???'