Skip to content

Commit

Permalink
Fix Script Entrypoint
Browse files Browse the repository at this point in the history
The entrypoint configuration is assuming a `main()` method which didn't
exist any longer. This patch reintroduces the method.
  • Loading branch information
lkiesow committed Sep 27, 2023
1 parent 6179866 commit ecaa6ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion proteuscmd/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,5 +151,9 @@ def ip_delete(proteus, ip):
proteus.delete_ip4_address(ip, range_id)


if __name__ == '__main__':
def main():
cli()


if __name__ == '__main__':
main()
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def read(filename):

setup(
name='proteuscmd',
version='0.5',
version='0.6',
description=description_text,
url='https://github.com/virtUOS/proteuscmd',
author='Lars Kiesow',
Expand Down

0 comments on commit ecaa6ba

Please sign in to comment.