ebs-linuxnode-gui-kivy-core 3.3.2__tar.gz → 3.3.5__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.
- {ebs-linuxnode-gui-kivy-core-3.3.2/ebs_linuxnode_gui_kivy_core.egg-info → ebs_linuxnode_gui_kivy_core-3.3.5}/PKG-INFO +9 -1
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/background/image.py +1 -2
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/utils/application.py +10 -1
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/utils/launcher.py +11 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5/ebs_linuxnode_gui_kivy_core.egg-info}/PKG-INFO +9 -1
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/.gitignore +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/MANIFEST.in +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/animations/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/animations/composite.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/background/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/background/color.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/background/images/background.png +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/background/mixin.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/background/overlay.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/background/structured.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/core/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/core/basemixin.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/core/basenode.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/core/busy.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/core/display.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/core/log.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/core/nodeid.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/core/structure.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/core/text.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/gui/kivy/utils/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs_linuxnode_gui_kivy_core.egg-info/SOURCES.txt +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs_linuxnode_gui_kivy_core.egg-info/dependency_links.txt +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs_linuxnode_gui_kivy_core.egg-info/requires.txt +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs_linuxnode_gui_kivy_core.egg-info/top_level.txt +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/example/app.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/example/image.jpg +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/example/node.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/example/run.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/setup.cfg +0 -0
- {ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ebs-linuxnode-gui-kivy-core
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.5
|
|
4
4
|
Summary: Kivy GUI Core for EBS Linuxnode Applications
|
|
5
5
|
Home-page: https://github.com/ebs-universe/ebs-linuxnode-coregui-kivy
|
|
6
6
|
Author: Chintalagiri Shashank
|
|
@@ -12,3 +12,11 @@ Classifier: Programming Language :: Python
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.6
|
|
14
14
|
Classifier: Operating System :: POSIX :: Linux
|
|
15
|
+
Requires-Dist: six
|
|
16
|
+
Requires-Dist: setuptools-scm
|
|
17
|
+
Requires-Dist: appdirs
|
|
18
|
+
Requires-Dist: kivy>=2.1.0
|
|
19
|
+
Requires-Dist: kivy-garden
|
|
20
|
+
Requires-Dist: kivy_garden.ebs.core>=1.3.0
|
|
21
|
+
Requires-Dist: kivy_garden.ebs.progressspinner>=1.2.0
|
|
22
|
+
Requires-Dist: ebs-linuxnode-core>=3.1.6
|
|
@@ -20,8 +20,7 @@ class ImageBackgroundProvider(BackgroundProviderBase):
|
|
|
20
20
|
def play(self, target, duration=None, callback=None, **kwargs):
|
|
21
21
|
self._widget = BleedImage(
|
|
22
22
|
source=target,
|
|
23
|
-
|
|
24
|
-
keep_ratio=True,
|
|
23
|
+
fit_mode="contain",
|
|
25
24
|
**kwargs
|
|
26
25
|
)
|
|
27
26
|
super(ImageBackgroundProvider, self).play(target, duration, callback, **kwargs)
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
from kivy.app import App
|
|
4
3
|
from twisted.internet import reactor
|
|
4
|
+
import os
|
|
5
|
+
framework = os.environ.get('EBS_APP_FRAMEWORK', None)
|
|
6
|
+
|
|
7
|
+
if not framework or framework == 'kivy':
|
|
8
|
+
from kivy.app import App
|
|
9
|
+
elif framework == 'kivymd':
|
|
10
|
+
from kivymd.app import MDApp as App
|
|
5
11
|
|
|
6
12
|
from ebs.linuxnode.gui.kivy.core.basenode import BaseIoTNodeGui
|
|
7
13
|
|
|
@@ -31,6 +37,9 @@ class BaseIOTNodeApplication(App):
|
|
|
31
37
|
print(" ", root)
|
|
32
38
|
|
|
33
39
|
print("Building GUI for node {0}".format(self._node))
|
|
40
|
+
if framework == 'kivymd':
|
|
41
|
+
self.theme_cls.primary_palette = self._config.primary_palette
|
|
42
|
+
self.theme_cls.theme_style = self._config.theme_style
|
|
34
43
|
return self._node.gui_setup()
|
|
35
44
|
|
|
36
45
|
def on_start(self):
|
|
@@ -21,6 +21,9 @@ def prepare_config(appname):
|
|
|
21
21
|
node_config = IoTNodeConfig(appname=appname)
|
|
22
22
|
|
|
23
23
|
items = [
|
|
24
|
+
('framework', ElementSpec('app', 'framework', ItemSpec(fallback='kivy'))),
|
|
25
|
+
('theme_style', ElementSpec('app', 'theme_style', ItemSpec(fallback='Dark'))),
|
|
26
|
+
('primary_palette', ElementSpec('app', 'primary_palette', ItemSpec(fallback='Yellowgreen'))),
|
|
24
27
|
('platform', ElementSpec('platform', 'platform', ItemSpec(fallback='native'))),
|
|
25
28
|
('fullscreen', ElementSpec('display', 'fullscreen', ItemSpec(bool, fallback=True))),
|
|
26
29
|
('portrait', ElementSpec('display', 'portrait', ItemSpec(bool, fallback=False))),
|
|
@@ -36,6 +39,14 @@ def prepare_config(appname):
|
|
|
36
39
|
|
|
37
40
|
|
|
38
41
|
def prepare_environment(node_config):
|
|
42
|
+
print("Using Python Logging")
|
|
43
|
+
os.environ["KCFG_KIVY_LOG_LEVEL"] = "info"
|
|
44
|
+
os.environ["KIVY_LOG_MODE"] = "PYTHON"
|
|
45
|
+
|
|
46
|
+
if node_config.framework != 'kivy':
|
|
47
|
+
print(f"Using framework {node_config.framework}")
|
|
48
|
+
os.environ["EBS_APP_FRAMEWORK"] = node_config.framework
|
|
49
|
+
|
|
39
50
|
print("Using pango Text Provider")
|
|
40
51
|
os.environ['KIVY_TEXT'] = 'pango'
|
|
41
52
|
if node_config.platform == 'rpi':
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ebs-linuxnode-gui-kivy-core
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.5
|
|
4
4
|
Summary: Kivy GUI Core for EBS Linuxnode Applications
|
|
5
5
|
Home-page: https://github.com/ebs-universe/ebs-linuxnode-coregui-kivy
|
|
6
6
|
Author: Chintalagiri Shashank
|
|
@@ -12,3 +12,11 @@ Classifier: Programming Language :: Python
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.6
|
|
14
14
|
Classifier: Operating System :: POSIX :: Linux
|
|
15
|
+
Requires-Dist: six
|
|
16
|
+
Requires-Dist: setuptools-scm
|
|
17
|
+
Requires-Dist: appdirs
|
|
18
|
+
Requires-Dist: kivy>=2.1.0
|
|
19
|
+
Requires-Dist: kivy-garden
|
|
20
|
+
Requires-Dist: kivy_garden.ebs.core>=1.3.0
|
|
21
|
+
Requires-Dist: kivy_garden.ebs.progressspinner>=1.2.0
|
|
22
|
+
Requires-Dist: ebs-linuxnode-core>=3.1.6
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ebs-linuxnode-gui-kivy-core-3.3.2 → ebs_linuxnode_gui_kivy_core-3.3.5}/ebs/linuxnode/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|