diff options
-rw-r--r-- | security_scan.py | 3 | ||||
-rw-r--r-- | setup.cfg | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/security_scan.py b/security_scan.py index c54e096..c926435 100644 --- a/security_scan.py +++ b/security_scan.py @@ -221,7 +221,6 @@ def cleandir(host, port, user, localkey, nodetype): connect.remotecmd() -if __name__ == '__main__': - """ Main entry_point """ +def main(): logging.basicConfig() nova_iterate() @@ -8,3 +8,7 @@ packages = . data_files = etc/securityscanning = config.ini + +[entry_points] +console_scripts = + security_scan = security_scan:main |