Skip to content

Commit

Permalink
fixed entry_point in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ampledata committed Jun 10, 2022
1 parent 7b96066 commit d4fe210
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions adsbxcot/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,10 @@
__license__ = "Apache License, Version 2.0"


# PyTAK CLI tool boilerplate:
pytak.cli(__name__.split(".")[0])
def main() -> None:
# PyTAK CLI tool boilerplate:
pytak.cli(__name__.split(".")[0])


if __name__ == '__main__':
main()
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import setuptools

__title__ = "adsbxcot"
__version__ = "5.0.1"
__version__ = "5.0.2"
__author__ = "Greg Albrecht W2GMD <oss@undef.net>"
__copyright__ = "Copyright 2022 Greg Albrecht"
__license__ = "Apache License, Version 2.0"
Expand All @@ -34,7 +34,7 @@ def publish():
packages=[__title__],
package_dir={__title__: __title__},
url=f"https://github.com/ampledata/{__title__}",
entry_points={"console_scripts": [f"{__title__} = {__title__}.commands"]},
entry_points={"console_scripts": [f"{__title__} = {__title__}.commands:main"]},
description="ADSBExchange.com ADS-B to Cursor-On-Target Gateway.",
author="Greg Albrecht",
author_email="oss@undef.net",
Expand Down

0 comments on commit d4fe210

Please sign in to comment.