diff --git a/safety.spec b/safety.spec index 820938d..ef908ac 100644 --- a/safety.spec +++ b/safety.spec @@ -3,7 +3,7 @@ block_cipher = None a = Analysis( - ['safety/cli.py'], + ['safety/__main__.py'], pathex=['.'], binaries=[], datas=[('safety/VERSION', './safety')], diff --git a/safety/__main__.py b/safety/__main__.py index d9a0bda..4792724 100644 --- a/safety/__main__.py +++ b/safety/__main__.py @@ -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