refactor Paths and update build workflow

+ rename app_dir -> config_dir and config_dir to config_parent
+ bundle web client as zip
+ bundle and extract client zip when running pyinstaller builds
+ installer pyinstaller as main dependency
+ remove fallback client flag
+ handle already used port
+ add assethandler class
+ remove some startup logs
+ ignore wheels and client.zip files
This commit is contained in:
cwilvx
2025-08-28 16:38:49 +03:00
parent e770606567
commit ebc740a5a5
15 changed files with 1037 additions and 955 deletions
+4 -3
View File
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "swingmusic"
description = "Swing Music"
readme = "README.md"
requires-python = ">=3.11, <=3.12"
requires-python = ">=3.11, <=3.12.9"
dynamic = ["version"]
dependencies = [
@@ -38,7 +38,8 @@ dependencies = [
"pendulum>=3.0.0",
"pystray>=0.19.5",
"waitress>=3.0.2; sys_platform == 'win32'",
"bjoern >=3.2.2; sys_platform != 'win32'"
"bjoern >=3.2.2; sys_platform != 'win32'",
"pyinstaller>=6.12.0",
]
[project.optional-dependencies]
@@ -66,4 +67,4 @@ Issues = "https://github.com/swingmx/swingmusic/issues"
[tool.setuptools_scm]
version_scheme = "only-version"
local_scheme = "no-local-version"
fallback_version = "v0.0.0"
fallback_version = "v0.0.0"