Squashed commit of the following:

commit 7c47604c45e293a29ca31f01e140d621194c0aa6
Author: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date:   Sat Jun 14 23:02:06 2025 +1000

    dev: run without installing
This commit is contained in:
2 * r + 2 * t
2025-06-14 23:06:22 +10:00
parent ee7291b7f6
commit 0ccf16d425
3 changed files with 7 additions and 11 deletions
+3 -7
View File
@@ -1,11 +1,7 @@
#!/usr/bin/env sh
# Utility script for rebuilding and running caelestia
# Utility script for running caelestia
cd $(dirname $0) || exit
cd "$(dirname $0)/src" || exit
sudo rm -r dist /usr/bin/caelestia /usr/lib/python3.*/site-packages/caelestia* 2> /dev/null
python -m build --wheel --no-isolation > /dev/null
sudo python -m installer --destdir=/ dist/*.whl > /dev/null
/usr/bin/caelestia "$@"
python -m caelestia "$@"
-4
View File
@@ -7,7 +7,3 @@ def main() -> None:
args.cls(args).run()
else:
parser.print_help()
if __name__ == "__main__":
main()
+4
View File
@@ -0,0 +1,4 @@
from . import main
if __name__ == "__main__":
main()