android-widgets 0.1.2__tar.gz → 0.1.3__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: android-widgets
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: This would be used to auto gen XMLs for Android Home Screen widgets.
5
5
  Author-email: Fabian <fector101@yahoo.com>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
 
2
2
  import os
3
- import traceback
3
+ # import traceback
4
4
 
5
5
  from .config import is_platform_android
6
6
  from .aw_logging import logger, enable_logging
@@ -1,5 +1,9 @@
1
1
  import os
2
- from jnius import autoclass
2
+
3
+ try: # This for when genrating xml with P4A.hook
4
+ from jnius import autoclass
5
+ except ModuleNotFoundError:
6
+ pass
3
7
 
4
8
 
5
9
  ON_ANDROID = False
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: android-widgets
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: This would be used to auto gen XMLs for Android Home Screen widgets.
5
5
  Author-email: Fabian <fector101@yahoo.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "android-widgets"
7
- version = "0.1.2"
7
+ version = "0.1.3"
8
8
  description = "This would be used to auto gen XMLs for Android Home Screen widgets."
9
9
  readme = { file = "README.md", content-type = "text/markdown" }
10
10
  authors = [