Skip to content

Commit

Permalink
fix: update pyinstaller target (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
yeisonvargasf authored Apr 30, 2024
1 parent b56a4dc commit 4ef66e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion safety.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
block_cipher = None

a = Analysis(
['safety/cli.py'],
['safety/__main__.py'],
pathex=['.'],
binaries=[],
datas=[('safety/VERSION', './safety')],
Expand Down
4 changes: 1 addition & 3 deletions safety/__main__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
"""Allow safety to be executable through `python -m safety`."""
from __future__ import absolute_import

from .cli import cli
from safety.cli import cli


if __name__ == "__main__": # pragma: no cover
Expand Down

0 comments on commit 4ef66e0

Please sign in to comment.