Skip to content

Commit

Permalink
facilitate correct build on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt-Brunner committed Dec 14, 2024
1 parent ef01659 commit 8f9b5ba
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions napytau/main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
from gui.app import init as init_gui
from headless.headless_mockup import init as init_headless
from cli.parser import parse_cli_arguments
# Compilation mode, standalone everywhere, except on macOS there app bundle
# nuitka-project-if: {OS} in ("Windows", "Linux", "FreeBSD"):
# nuitka-project: --onefile
# nuitka-project-if: {OS} == "Darwin":
# nuitka-project: --standalone
# nuitka-project: --macos-create-app-bundle
#
from napytau.gui.app import init as init_gui
from napytau.headless.headless_mockup import init as init_headless
from napytau.cli.parser import parse_cli_arguments


def main() -> None:
Expand Down

0 comments on commit 8f9b5ba

Please sign in to comment.