splitguides 0.10.3__tar.gz → 0.10.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. splitguides-0.10.4/MANIFEST.in +2 -0
  2. {splitguides-0.10.3 → splitguides-0.10.4}/PKG-INFO +3 -2
  3. {splitguides-0.10.3 → splitguides-0.10.4}/pyproject.toml +11 -17
  4. splitguides-0.10.4/src/splitguides/_version.py +2 -0
  5. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/settings.py +4 -3
  6. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/ui/layouts/build/main_window.py +1 -1
  7. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/ui/layouts/build/server_settings.py +1 -1
  8. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/ui/layouts/build/settings.py +1 -1
  9. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides.egg-info/PKG-INFO +3 -2
  10. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides.egg-info/SOURCES.txt +0 -7
  11. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides.egg-info/requires.txt +2 -1
  12. splitguides-0.10.4/uv.lock +3434 -0
  13. splitguides-0.10.3/.github/dependabot.yml +0 -7
  14. splitguides-0.10.3/.github/workflows/auto-test.yml +0 -31
  15. splitguides-0.10.3/.github/workflows/build-exe.yml +0 -62
  16. splitguides-0.10.3/.github/workflows/publish_to_pypi.yml +0 -87
  17. splitguides-0.10.3/.github/workflows/test-builds.yml +0 -58
  18. splitguides-0.10.3/MANIFEST.in +0 -9
  19. splitguides-0.10.3/images/splitguides_server_example.jpg +0 -0
  20. splitguides-0.10.3/images/splits_example.png +0 -0
  21. splitguides-0.10.3/src/splitguides/_version.py +0 -2
  22. splitguides-0.10.3/uv.lock +0 -488
  23. {splitguides-0.10.3 → splitguides-0.10.4}/.coveragerc +0 -0
  24. {splitguides-0.10.3 → splitguides-0.10.4}/.gitignore +0 -0
  25. {splitguides-0.10.3 → splitguides-0.10.4}/COPYING +0 -0
  26. {splitguides-0.10.3 → splitguides-0.10.4}/application/setup.py +0 -0
  27. {splitguides-0.10.3 → splitguides-0.10.4}/readme.md +0 -0
  28. {splitguides-0.10.3 → splitguides-0.10.4}/scripts/clean_compiled_ui_files.py +0 -0
  29. {splitguides-0.10.3 → splitguides-0.10.4}/setup.cfg +0 -0
  30. {splitguides-0.10.3 → splitguides-0.10.4}/setup.py +0 -0
  31. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/__init__.py +0 -0
  32. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/__main__.py +0 -0
  33. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/build_ui.py +0 -0
  34. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/exceptions.py +0 -0
  35. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/hotkeys.py +0 -0
  36. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/livesplit_client.py +0 -0
  37. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/note_parser.py +0 -0
  38. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/resources/logo_alpha.ico +0 -0
  39. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/resources/logo_alpha.png +0 -0
  40. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/server/__init__.py +0 -0
  41. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/server/__main__.py +0 -0
  42. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/server/split_server.py +0 -0
  43. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/static/desktop.css +0 -0
  44. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/static/server.css +0 -0
  45. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/static/streamlistener.js +0 -0
  46. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/templates/desktop.html +0 -0
  47. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/templates/server.html +0 -0
  48. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/ui/__init__.py +0 -0
  49. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/ui/color.py +0 -0
  50. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/ui/custom_elements/__init__.py +0 -0
  51. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/ui/hotkey_manager.py +0 -0
  52. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/ui/layouts/__init__.py +0 -0
  53. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/ui/layouts/build/__init__.py +0 -0
  54. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/ui/layouts/main_window.ui +0 -0
  55. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/ui/layouts/server_settings.ui +0 -0
  56. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/ui/layouts/settings.ui +0 -0
  57. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/ui/main.pyproject +0 -0
  58. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/ui/main_window.py +0 -0
  59. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/ui/server_settings_ui.py +0 -0
  60. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides/ui/settings_ui.py +0 -0
  61. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides.egg-info/dependency_links.txt +0 -0
  62. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides.egg-info/entry_points.txt +0 -0
  63. {splitguides-0.10.3 → splitguides-0.10.4}/src/splitguides.egg-info/top_level.txt +0 -0
  64. {splitguides-0.10.3 → splitguides-0.10.4}/tests/conftest.py +0 -0
  65. {splitguides-0.10.3 → splitguides-0.10.4}/tests/test_livesplit_client/test_get_client.py +0 -0
  66. {splitguides-0.10.3 → splitguides-0.10.4}/tests/test_livesplit_client/test_messaging.py +0 -0
  67. {splitguides-0.10.3 → splitguides-0.10.4}/tests/test_livesplit_client/test_networking.py +0 -0
  68. {splitguides-0.10.3 → splitguides-0.10.4}/tests/test_parser.py +0 -0
  69. {splitguides-0.10.3 → splitguides-0.10.4}/tests/test_ui/settings.json +0 -0
  70. {splitguides-0.10.3 → splitguides-0.10.4}/tests/test_ui/test_livesplit_link.py +0 -0
  71. {splitguides-0.10.3 → splitguides-0.10.4}/tests/test_ui/test_main_window.py +0 -0
  72. {splitguides-0.10.3 → splitguides-0.10.4}/tests/test_ui/test_settings.py +0 -0
@@ -0,0 +1,2 @@
1
+ prune .github
2
+ prune images
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: splitguides
3
- Version: 0.10.3
3
+ Version: 0.10.4
4
4
  Summary: A tool for speedrunners to display notes that advance automatically with their splits in Livesplit.
5
5
  Author: David C Ellis
6
6
  License-Expression: GPL-3.0-or-later
@@ -13,7 +13,7 @@ Classifier: Topic :: Games/Entertainment
13
13
  Requires-Python: >=3.12
14
14
  Description-Content-Type: text/markdown
15
15
  License-File: COPYING
16
- Requires-Dist: pyside6~=6.9
16
+ Requires-Dist: pyside6~=6.9.0
17
17
  Requires-Dist: jinja2~=3.1
18
18
  Requires-Dist: bleach[css]==6.0
19
19
  Requires-Dist: flask~=3.0
@@ -21,6 +21,7 @@ Requires-Dist: markdown~=3.6
21
21
  Requires-Dist: keyboard~=0.13.5
22
22
  Requires-Dist: ducktools-classbuilder>=0.7.4
23
23
  Requires-Dist: waitress~=3.0
24
+ Requires-Dist: platformdirs~=4.3
24
25
  Dynamic: license-file
25
26
 
26
27
  # SplitGuides #
@@ -2,32 +2,33 @@
2
2
  requires = [
3
3
  "setuptools>=77.0",
4
4
  "setuptools-scm>=8",
5
- "pyside6-essentials~=6.9", # Needed to build uic files
5
+ "pyside6-essentials~=6.9", # Needed to build uic files
6
6
  ]
7
7
  build-backend = "setuptools.build_meta"
8
8
 
9
9
  [project]
10
- name="splitguides"
11
- description="A tool for speedrunners to display notes that advance automatically with their splits in Livesplit."
10
+ name = "splitguides"
11
+ description = "A tool for speedrunners to display notes that advance automatically with their splits in Livesplit."
12
12
  authors = [
13
- { name = "David C Ellis" },
13
+ { name = "David C Ellis" },
14
14
  ]
15
- readme="README.md"
16
- requires-python = ">=3.12" # 3.12 should function and build now
15
+ readme = "README.md"
16
+ requires-python = ">=3.12"
17
17
  dependencies = [
18
- "pyside6~=6.9",
18
+ "pyside6~=6.9.0",
19
19
  "jinja2~=3.1",
20
- "bleach[css]==6.0", # Each upgrade to bleach has broken something so pin it.
20
+ "bleach[css]==6.0", # Each upgrade to bleach has broken something so pin it.
21
21
  "flask~=3.0",
22
22
  "markdown~=3.6",
23
23
  "keyboard~=0.13.5",
24
24
  "ducktools-classbuilder>=0.7.4",
25
25
  "waitress~=3.0",
26
+ "platformdirs~=4.3",
26
27
  ]
27
28
  classifiers = [
28
29
  "Development Status :: 4 - Beta",
29
30
  "Operating System :: Microsoft :: Windows",
30
- "Operating System :: POSIX :: Linux", # Should also work on Linux, even if livesplit doesn't
31
+ "Operating System :: POSIX :: Linux",
31
32
  "Programming Language :: Python :: 3.12",
32
33
  "Programming Language :: Python :: 3.13",
33
34
  "Topic :: Games/Entertainment",
@@ -59,14 +60,7 @@ __version_tuple__ = {version_tuple}
59
60
  """
60
61
 
61
62
  [tool.pytest.ini_options]
62
- addopts= "--cov=src/ --cov-report=term-missing"
63
+ addopts = "--cov=src/ --cov-report=term-missing"
63
64
  testpaths = [
64
65
  "tests",
65
66
  ]
66
-
67
- [tool.uv]
68
- # Only x86_64 / AMD64 is supported
69
- environments = [
70
- "platform_system == 'Windows' and platform_machine == 'AMD64' and implementation_name == 'cpython'",
71
- "platform_system == 'Linux' and platform_machine == 'x86_64' and implementation_name == 'cpython'",
72
- ]
@@ -0,0 +1,2 @@
1
+ __version__ = "0.10.4"
2
+ __version_tuple__ = (0, 10, 4)
@@ -15,6 +15,8 @@ from .exceptions import UnsupportedPlatformError
15
15
  PROJECT_NAME = "splitguides"
16
16
 
17
17
  match sys.platform:
18
+ # Don't change existing win32/linux config locations
19
+ # but let platformdirs handle this for previously unsupported platforms
18
20
  case "win32":
19
21
  if _local_app_folder := os.environ.get("LOCALAPPDATA"):
20
22
  if not os.path.isdir(_local_app_folder):
@@ -27,9 +29,8 @@ match sys.platform:
27
29
  case "linux":
28
30
  SETTINGS_FOLDER = Path(os.path.expanduser(os.path.join("~", f".{PROJECT_NAME}")))
29
31
  case other:
30
- raise UnsupportedPlatformError(
31
- f"Platform {other!r} is not currently supported."
32
- )
32
+ import platformdirs
33
+ SETTINGS_FOLDER = Path(platformdirs.user_config_dir(PROJECT_NAME))
33
34
 
34
35
  SETTINGS_FOLDER.mkdir(exist_ok=True)
35
36
 
@@ -3,7 +3,7 @@
3
3
  ################################################################################
4
4
  ## Form generated from reading UI file 'main_window.ui'
5
5
  ##
6
- ## Created by: Qt User Interface Compiler version 6.9.1
6
+ ## Created by: Qt User Interface Compiler version 6.10.1
7
7
  ##
8
8
  ## WARNING! All changes made in this file will be lost when recompiling UI file!
9
9
  ################################################################################
@@ -3,7 +3,7 @@
3
3
  ################################################################################
4
4
  ## Form generated from reading UI file 'server_settings.ui'
5
5
  ##
6
- ## Created by: Qt User Interface Compiler version 6.9.1
6
+ ## Created by: Qt User Interface Compiler version 6.10.1
7
7
  ##
8
8
  ## WARNING! All changes made in this file will be lost when recompiling UI file!
9
9
  ################################################################################
@@ -3,7 +3,7 @@
3
3
  ################################################################################
4
4
  ## Form generated from reading UI file 'settings.ui'
5
5
  ##
6
- ## Created by: Qt User Interface Compiler version 6.9.1
6
+ ## Created by: Qt User Interface Compiler version 6.10.1
7
7
  ##
8
8
  ## WARNING! All changes made in this file will be lost when recompiling UI file!
9
9
  ################################################################################
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: splitguides
3
- Version: 0.10.3
3
+ Version: 0.10.4
4
4
  Summary: A tool for speedrunners to display notes that advance automatically with their splits in Livesplit.
5
5
  Author: David C Ellis
6
6
  License-Expression: GPL-3.0-or-later
@@ -13,7 +13,7 @@ Classifier: Topic :: Games/Entertainment
13
13
  Requires-Python: >=3.12
14
14
  Description-Content-Type: text/markdown
15
15
  License-File: COPYING
16
- Requires-Dist: pyside6~=6.9
16
+ Requires-Dist: pyside6~=6.9.0
17
17
  Requires-Dist: jinja2~=3.1
18
18
  Requires-Dist: bleach[css]==6.0
19
19
  Requires-Dist: flask~=3.0
@@ -21,6 +21,7 @@ Requires-Dist: markdown~=3.6
21
21
  Requires-Dist: keyboard~=0.13.5
22
22
  Requires-Dist: ducktools-classbuilder>=0.7.4
23
23
  Requires-Dist: waitress~=3.0
24
+ Requires-Dist: platformdirs~=4.3
24
25
  Dynamic: license-file
25
26
 
26
27
  # SplitGuides #
@@ -7,14 +7,7 @@ pyproject.toml
7
7
  readme.md
8
8
  setup.py
9
9
  uv.lock
10
- .github/dependabot.yml
11
- .github/workflows/auto-test.yml
12
- .github/workflows/build-exe.yml
13
- .github/workflows/publish_to_pypi.yml
14
- .github/workflows/test-builds.yml
15
10
  application/setup.py
16
- images/splitguides_server_example.jpg
17
- images/splits_example.png
18
11
  scripts/clean_compiled_ui_files.py
19
12
  src/splitguides/__init__.py
20
13
  src/splitguides/__main__.py
@@ -1,4 +1,4 @@
1
- pyside6~=6.9
1
+ pyside6~=6.9.0
2
2
  jinja2~=3.1
3
3
  bleach[css]==6.0
4
4
  flask~=3.0
@@ -6,3 +6,4 @@ markdown~=3.6
6
6
  keyboard~=0.13.5
7
7
  ducktools-classbuilder>=0.7.4
8
8
  waitress~=3.0
9
+ platformdirs~=4.3