Skip to content

Commit

Permalink
Move binary warning to entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Jul 26, 2022
1 parent 17c4d6e commit 9a38669
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pyinfra_cli/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,4 @@ def _handle_interrupt(signum, frame):


if __name__ == "pyinfra_cli.__main__":
if getattr(sys, "frozen", False):
click.echo(click.style("Warning: running alpha pyinfra binary build", "yellow"), err=True)

cli()
3 changes: 3 additions & 0 deletions scripts/pyinfra-pyinstaller-entrypoint.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import click

from pyinfra_cli.__main__ import cli

click.echo(click.style("Warning: running alpha pyinfra binary build", "yellow"), err=True)
cli()

0 comments on commit 9a38669

Please sign in to comment.