add entrypoint for pipx

This commit is contained in:
Cypheriel 2023-11-19 16:00:57 -07:00
parent a3754316ec
commit 4aeed079f3
No known key found for this signature in database
2 changed files with 8 additions and 1 deletions

View file

@ -23,6 +23,9 @@ ipython = "^8.17.2"
asn1crypto = "^1.5.1"
websockets = "^12.0"
[tool.poetry.scripts]
pypush = "pypush.__main__:entrypoint"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

View file

@ -196,5 +196,9 @@ async def output_task(im: imessage.iMessageUser):
print(str(msg))
if __name__ == "__main__":
def entrypoint():
trio.run(main)
if __name__ == "__main__":
entrypoint()