add entrypoint to setup
Some checks failed
Publish Python 🐍 distribution 📦 to PyPI and TestPyPI / Build distribution 📦 (push) Successful in 7s
Publish Python 🐍 distribution 📦 to PyPI and TestPyPI / Publish Python 🐍 distribution 📦 to PyPI (push) Has been skipped
Publish Python 🐍 distribution 📦 to PyPI and TestPyPI / Sign the Python 🐍 distribution 📦 with Sigstore and upload them to GitHub Release (push) Has been skipped
Python package / lint (push) Failing after 6s
Publish Python 🐍 distribution 📦 to PyPI and TestPyPI / Publish Python 🐍 distribution 📦 to TestPyPI (push) Failing after 3s

This commit is contained in:
Brendan Haines 2024-09-14 13:42:58 -06:00
parent 0ace1bcad2
commit cb4747fcf1
2 changed files with 10 additions and 1 deletions

View File

@ -100,5 +100,9 @@ def wrap(command: List[str], config: Path, retries: int, version):
# %% main
if __name__ == "__main__":
def main():
wrap()
if __name__ == "__main__":
main()

View File

@ -20,4 +20,9 @@ setup(
"click",
"gotify",
],
entry_points={
"console_scripts": [
"goat_monitor = goat_monitor.goat_monitor:main",
],
},
)