Phase 2 start: desktop window (pywebview)

Setup screen (create/open library), update buttons, drag-and-drop import, Garmin Connect
login with MFA prompt, sources overview, settings, live log. Jobs run one at a time in a
worker thread. Single instance on Windows. Dashboard can be copied to extra paths
(copy_dashboard_to). App API test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-17 12:56:32 +02:00
parent 8e7f13477d
commit 462d23ba9d
6 changed files with 552 additions and 3 deletions

View File

@@ -13,16 +13,20 @@ dependencies = ["fitparse>=1.2", "timezonefinder>=6"]
[project.optional-dependencies]
api = ["garminconnect>=0.3.19", "curl_cffi"]
app = ["pywebview>=6", "garminconnect>=0.3.19", "curl_cffi"]
dev = ["pytest"]
[project.scripts]
mygarmin = "mygarmin.cli:main"
[project.gui-scripts]
mygarmin-app = "mygarmin.app:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
mygarmin = ["report/*.html"]
mygarmin = ["report/*.html", "app/*.html"]
[tool.pytest.ini_options]
testpaths = ["tests"]