wirepas-gateway 1.6.0rc2.dev2__tar.gz → 1.6.0rc2.dev3__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 (33) hide show
  1. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/PKG-INFO +1 -1
  2. wirepas_gateway-1.6.0rc2.dev3/pyproject.toml +4 -0
  3. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/setup.py +6 -5
  4. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway/__init__.py +2 -3
  5. wirepas_gateway-1.6.0rc2.dev3/wirepas_gateway/_version.py +34 -0
  6. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway.egg-info/PKG-INFO +1 -1
  7. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway.egg-info/SOURCES.txt +1 -0
  8. wirepas_gateway-1.6.0rc2.dev2/pyproject.toml +0 -4
  9. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/LICENSE +0 -0
  10. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/README.md +0 -0
  11. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/requirements.txt +0 -0
  12. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/setup.cfg +0 -0
  13. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/tests/test_arguments.py +0 -0
  14. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway/__about__.py +0 -0
  15. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway/__main__.py +0 -0
  16. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway/configure_node.py +0 -0
  17. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway/dbus/__init__.py +0 -0
  18. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway/dbus/c-extension/dbus_c.c +0 -0
  19. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway/dbus/dbus_client.py +0 -0
  20. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway/dbus/return_code.py +0 -0
  21. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway/dbus/sink_manager.py +0 -0
  22. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway/dbus_print_client.py +0 -0
  23. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway/protocol/__init__.py +0 -0
  24. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway/protocol/mqtt_wrapper.py +0 -0
  25. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway/protocol/topic_helper.py +0 -0
  26. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway/transport_service.py +0 -0
  27. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway/utils/__init__.py +0 -0
  28. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway/utils/argument_tools.py +0 -0
  29. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway/utils/serialization_tools.py +0 -0
  30. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway.egg-info/dependency_links.txt +0 -0
  31. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway.egg-info/entry_points.txt +0 -0
  32. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway.egg-info/requires.txt +0 -0
  33. {wirepas_gateway-1.6.0rc2.dev2 → wirepas_gateway-1.6.0rc2.dev3}/wirepas_gateway.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wirepas_gateway
3
- Version: 1.6.0rc2.dev2
3
+ Version: 1.6.0rc2.dev3
4
4
  Summary: Wirepas gateway transport service that connects the local dbus to a remote MQTT broker.
5
5
  Home-page: https://github.com/wirepas/gateway
6
6
  Author: Wirepas Ltd
@@ -0,0 +1,4 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0", "pkgconfig", "setuptools-scm"]
3
+ build-backend = "setuptools.build_meta"
4
+
@@ -66,17 +66,18 @@ def get_systemd_lib(key):
66
66
  return None
67
67
 
68
68
 
69
- def get_version():
70
- return os.environ.get("WM_TRANSPORT_VERSION", "0.0.0.dev0")
71
-
72
-
73
69
  about = {}
74
70
  with open(get_absolute_path("./wirepas_gateway/__about__.py")) as f:
75
71
  exec(f.read(), about)
76
72
 
77
73
  setup(
78
74
  name=about["__pkg_name__"],
79
- version=get_version(),
75
+ # Version can be overriden with the
76
+ # SETUPTOOLS_SCM_PRETEND_VERSION_FOR_WIREPAS_GATEWAY environment variable
77
+ use_scm_version={
78
+ "version_file": "wirepas_gateway/_version.py",
79
+ "root": ".."
80
+ },
80
81
  description=about["__description__"],
81
82
  long_description=long_description,
82
83
  long_description_content_type="text/markdown",
@@ -14,7 +14,8 @@
14
14
  from . import dbus
15
15
  from . import protocol
16
16
  from . import utils
17
- import importlib.metadata
17
+
18
+ from ._version import __version__
18
19
 
19
20
  from .__about__ import (
20
21
  __author__,
@@ -29,5 +30,3 @@ from .__about__ import (
29
30
  __keywords__,
30
31
  )
31
32
 
32
- __version__ = importlib.metadata.version(__pkg_name__)
33
-
@@ -0,0 +1,34 @@
1
+ # file generated by setuptools-scm
2
+ # don't change, don't track in version control
3
+
4
+ __all__ = [
5
+ "__version__",
6
+ "__version_tuple__",
7
+ "version",
8
+ "version_tuple",
9
+ "__commit_id__",
10
+ "commit_id",
11
+ ]
12
+
13
+ TYPE_CHECKING = False
14
+ if TYPE_CHECKING:
15
+ from typing import Tuple
16
+ from typing import Union
17
+
18
+ VERSION_TUPLE = Tuple[Union[int, str], ...]
19
+ COMMIT_ID = Union[str, None]
20
+ else:
21
+ VERSION_TUPLE = object
22
+ COMMIT_ID = object
23
+
24
+ version: str
25
+ __version__: str
26
+ __version_tuple__: VERSION_TUPLE
27
+ version_tuple: VERSION_TUPLE
28
+ commit_id: COMMIT_ID
29
+ __commit_id__: COMMIT_ID
30
+
31
+ __version__ = version = '1.6.0rc2.dev3'
32
+ __version_tuple__ = version_tuple = (1, 6, 0, 'rc2', 'dev3')
33
+
34
+ __commit_id__ = commit_id = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wirepas_gateway
3
- Version: 1.6.0rc2.dev2
3
+ Version: 1.6.0rc2.dev3
4
4
  Summary: Wirepas gateway transport service that connects the local dbus to a remote MQTT broker.
5
5
  Home-page: https://github.com/wirepas/gateway
6
6
  Author: Wirepas Ltd
@@ -7,6 +7,7 @@ tests/test_arguments.py
7
7
  wirepas_gateway/__about__.py
8
8
  wirepas_gateway/__init__.py
9
9
  wirepas_gateway/__main__.py
10
+ wirepas_gateway/_version.py
10
11
  wirepas_gateway/configure_node.py
11
12
  wirepas_gateway/dbus_print_client.py
12
13
  wirepas_gateway/transport_service.py
@@ -1,4 +0,0 @@
1
- [build-system]
2
- requires = ["setuptools>=61.0", "pkgconfig"]
3
- build-backend = "setuptools.build_meta"
4
-