#!/opt/slapos/parts/python3/bin/python3

import sys

sys.path[0:0] = [
  '/opt/slapos/eggs/mdurl-0.1.2-py3.9.egg',
  '/opt/slapos/eggs/markdown_it_py-3.0.0-py3.9.egg',
  '/opt/slapos/eggs/pygments-2.19.2-py3.9.egg',
  '/opt/slapos/eggs/rich-14.2.0-py3.9.egg',
  '/opt/slapos/eggs/MarkupSafe-2.1.3-py3.9-linux-aarch64.egg',
  '/opt/slapos/eggs/pyperclip-1.11.0-py3.9.egg',
  '/opt/slapos/eggs/rich_argparse-1.7.1-py3.9.egg',
  '/opt/slapos/eggs/wcwidth-0.2.14-py3.9.egg',
  '/opt/slapos/eggs/zipp-3.12.0-py3.9.egg',
  '/opt/slapos/eggs/werkzeug-3.1.3-py3.9.egg',
  '/opt/slapos/eggs/jinja2-3.1.6-py3.9.egg',
  '/opt/slapos/eggs/itsdangerous-2.1.2-py3.9.egg',
  '/opt/slapos/eggs/click-8.1.3-py3.9.egg',
  '/opt/slapos/eggs/blinker-1.6.3-py3.9.egg',
  '/opt/slapos/eggs/autopage-0.5.2-py3.9.egg',
  '/opt/slapos/eggs/cmd2-2.7.0-py3.9.egg',
  '/opt/slapos/eggs/prettytable-3.16.0-py3.9.egg',
  '/opt/slapos/eggs/stevedore-5.5.0-py3.9.egg',
  '/opt/slapos/eggs/importlib_metadata-6.8.0-py3.9.egg',
  '/opt/slapos/eggs/charset_normalizer-3.4.4-py3.9.egg',
  '/opt/slapos/eggs/idna-3.11-py3.9.egg',
  '/opt/slapos/eggs/urllib3-2.6.3-py3.9.egg',
  '/opt/slapos/eggs/certifi-2025.11.12-py3.9.egg',
  '/opt/slapos/eggs/attrs-25.4.0-py3.9.egg',
  '/opt/slapos/eggs/pyrsistent-0.20.0-py3.9-linux-aarch64.egg',
  '/opt/slapos/eggs/flask-3.0.0-py3.9.egg',
  '/opt/slapos/eggs/netaddr-1.3.0-py3.9.egg',
  '/opt/slapos/eggs/netifaces-0.10.7-py3.9-linux-aarch64.egg',
  '/opt/slapos/eggs/supervisor-4.3.0-py3.9.egg',
  '/opt/slapos/eggs/psutil-7.1.3-py3.9-linux-aarch64.egg',
  '/opt/slapos/eggs/xml_marshaller-1.0.2-py3.9.egg',
  '/opt/slapos/eggs/zope.interface-7.2-py3.9-linux-aarch64.egg',
  '/opt/slapos/eggs/cliff-4.9.1-py3.9.egg',
  '/opt/slapos/eggs/requests-2.32.5-py3.9.egg',
  '/opt/slapos/eggs/jsonschema-4.17.3-py3.9.egg',
  '/opt/slapos/eggs/uritemplate-4.1.1-py3.9.egg',
  '/opt/slapos/eggs/distro-1.7.0-py3.9.egg',
  '/opt/slapos/eggs/slapos.core-1.21.1-py3.9.egg',
  '/opt/slapos/eggs/pyOpenSSL-19.1.0-py3.9.egg',
  '/opt/slapos/develop-eggs/lxml-6.0.2-py3.9-linux-aarch64.egg',
  '/opt/slapos/develop-eggs/cffi-1.17.1-py3.9-linux-aarch64.egg',
  '/opt/slapos/develop-eggs/PyYAML-6.0.3-py3.9-linux-aarch64.egg',
  '/opt/slapos/develop-eggs/cryptography-3.3.2+slapospatched001-py3.9-linux-aarch64.egg',
  '/opt/slapos/eggs/slapos.libnetworkcache-0.28-py3.9.egg',
  '/opt/slapos/eggs/zc.buildout-3.0.1+slapos010-py3.9.egg',
  '/opt/slapos/eggs/six-1.17.0-py3.9.egg',
  '/opt/slapos/eggs/setuptools-67.8.0-py3.9.egg',
  '/opt/slapos/eggs/wheel-0.41.2-py3.9.egg',
  '/opt/slapos/eggs/pip-23.2.1-py3.9.egg',
  '/opt/slapos/eggs/pycparser-2.23-py3.9.egg',
  ]


_interactive = True
if len(sys.argv) > 1:
    _options, _args = __import__("getopt").getopt(sys.argv[1:], 'ic:m:')
    _interactive = False
    for (_opt, _val) in _options:
        if _opt == '-i':
            _interactive = True
        elif _opt == '-c':
            exec(_val)
        elif _opt == '-m':
            sys.argv[1:] = _args
            _args = []
            __import__("runpy").run_module(
                 _val, {}, "__main__", alter_sys=True)

    if _args:
        sys.argv[:] = _args
        __file__ = _args[0]
        del _options, _args
        with open(__file__) as __file__f:
            exec(compile(__file__f.read(), __file__, "exec"))

if _interactive:
    del _interactive
    __import__("code").interact(banner="", local=globals())
