HEX
Server: Apache
System: Linux host39.registrar-servers.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User: idolaotomotif (3857)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: //proc/thread-self/root/opt/hc_python/lib64/python3.12/site-packages/wheel/__main__.py
"""
Wheel command line tool (enables the ``python -m wheel`` syntax)
"""

from __future__ import annotations

import sys
from typing import NoReturn


def main() -> NoReturn:  # needed for console script
    if __spec__.parent == "":
        # To be able to run 'python wheel-0.9.whl/wheel':
        import os.path

        path = os.path.dirname(os.path.dirname(__file__))
        sys.path[0:0] = [path]

    from ._commands import main as cli_main

    sys.exit(cli_main())


if __name__ == "__main__":
    main()