2020-06-17 06:55:56 +02:00
|
|
|
# This is the same __init__.py for all bolt dirs.
|
2020-06-24 13:21:36 +02:00
|
|
|
from .csv import csv
|
|
|
|
from .text import text, desc
|
|
|
|
from .gen_csv_version import __csv_version__
|
|
|
|
from .gen_version import __base_version__, __post_version__, __gitversion__
|
2020-06-04 04:48:05 +02:00
|
|
|
from .bolt import namespace
|
|
|
|
import sys
|
|
|
|
|
2020-06-24 13:21:36 +02:00
|
|
|
# eg. 1.0.1.137.
|
|
|
|
__version__ = '{}.{}.{}'.format(__base_version__, __csv_version__, __post_version__)
|
|
|
|
|
2020-06-04 04:48:05 +02:00
|
|
|
__all__ = [
|
|
|
|
'csv',
|
2020-06-17 06:55:56 +02:00
|
|
|
'text',
|
|
|
|
'desc',
|
2020-06-04 04:48:05 +02:00
|
|
|
'namespace',
|
2020-06-17 06:55:56 +02:00
|
|
|
'__version__',
|
|
|
|
'__gitversion__',
|
2020-06-04 04:48:05 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
mod = sys.modules[__name__]
|
|
|
|
for d in namespace.subtypes, namespace.tlvtypes, namespace.messagetypes:
|
|
|
|
for name in d:
|
|
|
|
setattr(mod, name, d[name])
|
|
|
|
__all__.append(name)
|