2020-06-17 06:55:56 +02:00
|
|
|
# This is the same __init__.py for all bolt dirs.
|
|
|
|
from .gen import csv, text, desc
|
|
|
|
from .gen_version import __version__, __gitversion__
|
2020-06-04 04:48:05 +02:00
|
|
|
from .bolt import namespace
|
|
|
|
import sys
|
|
|
|
|
|
|
|
__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)
|