mmrelay 1.0.1__py3-none-any.whl → 1.0.2__py3-none-any.whl
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.
Potentially problematic release.
This version of mmrelay might be problematic. Click here for more details.
- mmrelay/__init__.py +11 -7
- {mmrelay-1.0.1.dist-info → mmrelay-1.0.2.dist-info}/METADATA +1 -1
- {mmrelay-1.0.1.dist-info → mmrelay-1.0.2.dist-info}/RECORD +7 -7
- {mmrelay-1.0.1.dist-info → mmrelay-1.0.2.dist-info}/WHEEL +0 -0
- {mmrelay-1.0.1.dist-info → mmrelay-1.0.2.dist-info}/entry_points.txt +0 -0
- {mmrelay-1.0.1.dist-info → mmrelay-1.0.2.dist-info}/licenses/LICENSE +0 -0
- {mmrelay-1.0.1.dist-info → mmrelay-1.0.2.dist-info}/top_level.txt +0 -0
mmrelay/__init__.py
CHANGED
|
@@ -2,12 +2,16 @@
|
|
|
2
2
|
Meshtastic Matrix Relay - Bridge between Meshtastic mesh networks and Matrix chat rooms.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
-
import importlib.metadata
|
|
6
5
|
import os
|
|
6
|
+
import pkg_resources
|
|
7
7
|
|
|
8
|
-
#
|
|
9
|
-
|
|
10
|
-
__version__ =
|
|
11
|
-
|
|
12
|
-
#
|
|
13
|
-
|
|
8
|
+
# First try to get version from environment variable (GitHub tag)
|
|
9
|
+
if "GITHUB_REF_NAME" in os.environ:
|
|
10
|
+
__version__ = os.environ.get("GITHUB_REF_NAME")
|
|
11
|
+
else:
|
|
12
|
+
# Fall back to setup.cfg metadata using pkg_resources (compatible with PyInstaller)
|
|
13
|
+
try:
|
|
14
|
+
__version__ = pkg_resources.get_distribution("mmrelay").version
|
|
15
|
+
except pkg_resources.DistributionNotFound:
|
|
16
|
+
# If all else fails, use hardcoded version
|
|
17
|
+
__version__ = "1.0.1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mmrelay
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: Bridge between Meshtastic mesh networks and Matrix chat rooms
|
|
5
5
|
Home-page: https://github.com/geoffwhittington/meshtastic-matrix-relay
|
|
6
6
|
Author: Geoff Whittington, Jeremiah K., and contributors
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
mmrelay/__init__.py,sha256=
|
|
1
|
+
mmrelay/__init__.py,sha256=h2JeEEBUfOhx06X0EukfLUXWMjG3_VAqBnKOSQ-8_1Q,587
|
|
2
2
|
mmrelay/cli.py,sha256=yBYOkCwGYDJ2gRKPoPltxB_PydX1CPNUerVJHcNuHTo,12355
|
|
3
3
|
mmrelay/config.py,sha256=OIDxQStuVHyWxsDfnKqt0rr26ETEoZPqHVXReEH3IG8,7006
|
|
4
4
|
mmrelay/config_checker.py,sha256=UnoHVTXzfdTfFkbmXv9r_Si76v-sxXLb5FOaQSOM45E,4909
|
|
@@ -21,9 +21,9 @@ mmrelay/plugins/nodes_plugin.py,sha256=RDabzyG5hKG5aYWecsRUcLSjMCCv6Pngmq2Qpld1A
|
|
|
21
21
|
mmrelay/plugins/ping_plugin.py,sha256=RTRdgDQUSO33lreDTmWsTlI0L1C3FJrXE0KYqfEWYO0,4017
|
|
22
22
|
mmrelay/plugins/telemetry_plugin.py,sha256=8SxWv4BLXMUTbiVaD3MjlMMdQyS7S_1OfLlVNAUMSO0,6306
|
|
23
23
|
mmrelay/plugins/weather_plugin.py,sha256=yoKA_HdFqFEhgYdXqLhvXatLphCyLJFuGUKCR7fILv0,8546
|
|
24
|
-
mmrelay-1.0.
|
|
25
|
-
mmrelay-1.0.
|
|
26
|
-
mmrelay-1.0.
|
|
27
|
-
mmrelay-1.0.
|
|
28
|
-
mmrelay-1.0.
|
|
29
|
-
mmrelay-1.0.
|
|
24
|
+
mmrelay-1.0.2.dist-info/licenses/LICENSE,sha256=yceWauM1c0-FHxVplsD7W1-AbSeRaUNlmqT4UO1msBU,1073
|
|
25
|
+
mmrelay-1.0.2.dist-info/METADATA,sha256=9n7xetoA6AQvzEc7Mnon9lISl9nVSjErusZeAnuGiRw,6953
|
|
26
|
+
mmrelay-1.0.2.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
|
|
27
|
+
mmrelay-1.0.2.dist-info/entry_points.txt,sha256=SJZwGUOEpQ-qx4H8UL4xKFnKeInGUaZNW1I0ddjK7Ws,45
|
|
28
|
+
mmrelay-1.0.2.dist-info/top_level.txt,sha256=B_ZLCRm7NYAmI3PipRUyHGymP-C-q16LSeMGzmqJfo4,8
|
|
29
|
+
mmrelay-1.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|