serverwatcher 3.1.2__tar.gz → 3.1.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: serverwatcher
3
- Version: 3.1.2
3
+ Version: 3.1.4
4
4
  Summary: A HungerLib-powered Minecraft server automation engine.
5
5
  Author: iFamished
6
6
  License: MIT
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "serverwatcher"
10
- version = "3.1.2"
10
+ version = "3.1.4"
11
11
  description = "A HungerLib-powered Minecraft server automation engine."
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.10"
@@ -7,16 +7,12 @@ except PackageNotFoundError:
7
7
  __version__ = '0.0.0'
8
8
 
9
9
  from .watcher import ServerWatcher
10
- from .config import WatcherConfig
11
- from .messages import WatcherMessages
12
10
  from .schema import validate_config_schema, validate_messages_schema
13
11
 
14
12
 
15
13
  __all__ = [
16
14
  # core utilities
17
15
  'ServerWatcher',
18
- 'WatcherConfig',
19
- 'WatcherMessages',
20
16
  'validate_config_schema',
21
17
  'validate_messages_schema',
22
18
  ]
@@ -46,19 +46,19 @@ class ServerWatcher:
46
46
  # Load all 3 configs
47
47
  self.global_cfg: GlobalConfig = load_or_default(
48
48
  "config/global.yaml",
49
- "defaultconfigs/global.yaml",
49
+ "serverwatcher/defaultconfigs/global.yaml",
50
50
  GlobalConfig
51
51
  )
52
52
 
53
53
  self.messages: MessagesConfig = load_or_default(
54
54
  "config/messages.yaml",
55
- "defaultconfigs/messages.yaml",
55
+ "serverwatcher/defaultconfigs/messages.yaml",
56
56
  MessagesConfig
57
57
  )
58
58
 
59
59
  self.cfg: WatcherConfig = load_or_default(
60
60
  "config/watcher.yaml",
61
- "defaultconfigs/watcher.yaml",
61
+ "serverwatcher/defaultconfigs/watcher.yaml",
62
62
  WatcherConfig
63
63
  )
64
64
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: serverwatcher
3
- Version: 3.1.2
3
+ Version: 3.1.4
4
4
  Summary: A HungerLib-powered Minecraft server automation engine.
5
5
  Author: iFamished
6
6
  License: MIT
File without changes
File without changes
File without changes