mirror of
https://github.com/Sneed-Group/pypush-plus-plus
synced 2024-10-30 08:27:52 +00:00
add entrypoint for pipx
This commit is contained in:
parent
a3754316ec
commit
4aeed079f3
2 changed files with 8 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue