25 lines
395 B
Python
25 lines
395 B
Python
# main.py
|
|
"""
|
|
Point d'entrée agent_v0.
|
|
|
|
v0 (tray) :
|
|
- initialise le logging
|
|
- lance TrayApp (icône dans la zone de notification)
|
|
- gestion Start/Stop/Queit via menu tray
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from logger_conf import setup_logging
|
|
from tray_ui import TrayApp
|
|
|
|
|
|
def main() -> None:
|
|
setup_logging()
|
|
app = TrayApp()
|
|
app.run()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|