Skip to content

Commit

Permalink
fix luxos script
Browse files Browse the repository at this point in the history
  • Loading branch information
cav71 committed Jun 24, 2024
1 parent 98cd74d commit 0710b43
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "luxos"
version = "0.1.1"
version = "0.1.2"
description = "The all encompassing LuxOS python library."
readme = "README.md"
license = { text = "MIT" } # TODO I don't think this is a MIT??
Expand Down Expand Up @@ -39,7 +39,7 @@ Source = "https://github.com/LuxorLabs/firmware-biz-tools"
Issues = "https://github.com/LuxorLabs/firmware-biz-tools/issues"

[project.scripts]
luxos = "luxos.scripts.luxos:main"
luxos = "luxos.scripts.luxos:run"
health-checker = "luxos.scripts.health_checker:main"

[tool.setuptools.package-data]
Expand Down
6 changes: 5 additions & 1 deletion src/luxos/scripts/luxos.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,9 @@ async def main(args: argparse.Namespace):
)


if __name__ == "__main__":
def run():
asyncio.run(main())


if __name__ == "__main__":
run()
Empty file added src/luxos/scripts/luxos_run.py
Empty file.

0 comments on commit 0710b43

Please sign in to comment.