mirror of
https://github.com/1andrevich/re-sputnik.git
synced 2026-08-25 00:27:27 +00:00
14 lines
464 B
Python
14 lines
464 B
Python
# SPDX-License-Identifier: GPL-3.0-only
|
|
# Copyright (c) 2026 1andrevich. Licensed under the GNU GPLv3 — see LICENSE.
|
|
"""Frozen-build entry point.
|
|
|
|
PyInstaller analyzes this instead of ``re_sputnik/__main__.py`` because a
|
|
package's ``__main__`` is run as top-level ``__main__`` (its ``from .app``
|
|
relative import would fail). Here the import is absolute, so the package
|
|
resolves normally.
|
|
"""
|
|
|
|
from re_sputnik.app import run
|
|
|
|
if __name__ == "__main__":
|
|
run()
|