36 lines
733 B
Python
36 lines
733 B
Python
from passlib.hash import sha256_crypt as _ignore #TODO: this hides a DeprecationWarning for crypt / sha256_crypt is used in py_elog
|
|
|
|
|
|
from slic.gui.wxdebug import wxdebug as _wxdebug
|
|
_wxdebug()
|
|
|
|
|
|
from . import core
|
|
|
|
|
|
from .utils.termtitle import termtitle as _termtitle
|
|
_termtitle("⊚slic")
|
|
|
|
import atexit
|
|
DEFAULT_TERM_TITLE = "Terminal"
|
|
atexit.register(lambda: _termtitle(DEFAULT_TERM_TITLE))
|
|
|
|
from .utils.logcfg import logcfg as _logcfg
|
|
_logcfg()
|
|
|
|
from .utils.pvpreload import pvpreload as _pvpreload
|
|
_pvpreload()
|
|
|
|
#TODO: add rich to dependency list
|
|
try:
|
|
from .utils.richcfg import richcfg as _richcfg
|
|
_richcfg()
|
|
except Exception as e:
|
|
print("setting up rich failed:", e)
|
|
|
|
|
|
from . import devices
|
|
from . import utils
|
|
|
|
|