1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
# -*- coding: utf-8 -*-
"""
Caller for the command line application.
"""
import sys
from ._optional import import_optional_dependency
def main():
# Check that necessary dependencies are available
import_optional_dependency("wilderness")
# Not packaged in Debian. See BTS #811294.
# import_optional_dependency(
# "tabview", raise_on_missing=not sys.platform == "win32"
# )
# if so, load the actual main function and call it.
from .console import main as realmain
sys.exit(realmain())
if __name__ == "__main__":
main()
|