android-widgets 0.1.5__tar.gz → 0.1.6__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.5
3
+ Version: 0.1.6
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-Expression: MIT
@@ -14,9 +14,7 @@ Classifier: Operating System :: Android
14
14
  Classifier: Development Status :: 3 - Alpha
15
15
  Classifier: Intended Audience :: Developers
16
16
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
17
- Requires-Python: >=3.7
18
17
  Description-Content-Type: text/markdown
19
- Requires-Dist: kivy>=2.0.0
20
18
 
21
19
  Kivy-androidwidgets
22
20
  ---
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: android-widgets
3
- Version: 0.1.5
3
+ Version: 0.1.6
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-Expression: MIT
@@ -14,9 +14,7 @@ Classifier: Operating System :: Android
14
14
  Classifier: Development Status :: 3 - Alpha
15
15
  Classifier: Intended Audience :: Developers
16
16
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
17
- Requires-Python: >=3.7
18
17
  Description-Content-Type: text/markdown
19
- Requires-Dist: kivy>=2.0.0
20
18
 
21
19
  Kivy-androidwidgets
22
20
  ---
@@ -10,5 +10,5 @@ android_widgets/tools.py
10
10
  android_widgets.egg-info/PKG-INFO
11
11
  android_widgets.egg-info/SOURCES.txt
12
12
  android_widgets.egg-info/dependency_links.txt
13
- android_widgets.egg-info/requires.txt
14
- android_widgets.egg-info/top_level.txt
13
+ android_widgets.egg-info/top_level.txt
14
+ venv/bin/activate_this.py
@@ -1,3 +1,4 @@
1
1
  android_widgets
2
2
  dist
3
3
  imgs
4
+ venv
@@ -1,20 +1,17 @@
1
1
  [build-system]
2
- requires = ["setuptools>=77.0.0", "wheel"]
2
+ requires = ["setuptools"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "android-widgets"
7
- version = "0.1.5"
7
+ version = "0.1.6"
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 = [
11
11
  { name = "Fabian", email = "fector101@yahoo.com" }
12
12
  ]
13
13
  license = "MIT"
14
- requires-python = ">=3.7"
15
- dependencies = [
16
- "kivy>=2.0.0"
17
- ]
14
+
18
15
  keywords = [
19
16
  "kivy",
20
17
  "android",
@@ -0,0 +1,36 @@
1
+ """
2
+ Activate virtualenv for current interpreter:
3
+
4
+ Use exec(open(this_file).read(), {'__file__': this_file}).
5
+
6
+ This can be used when you must use an existing Python interpreter, not the virtualenv bin/python.
7
+ """ # noqa: D415
8
+ from __future__ import annotations
9
+
10
+ import os
11
+ import site
12
+ import sys
13
+
14
+ try:
15
+ abs_file = os.path.abspath(__file__)
16
+ except NameError as exc:
17
+ msg = "You must use exec(open(this_file).read(), {'__file__': this_file})"
18
+ raise AssertionError(msg) from exc
19
+
20
+ bin_dir = os.path.dirname(abs_file)
21
+ base = bin_dir[: -len("bin") - 1] # strip away the bin part from the __file__, plus the path separator
22
+
23
+ # prepend bin to PATH (this file is inside the bin directory)
24
+ os.environ["PATH"] = os.pathsep.join([bin_dir, *os.environ.get("PATH", "").split(os.pathsep)])
25
+ os.environ["VIRTUAL_ENV"] = base # virtual env is right above bin directory
26
+ os.environ["VIRTUAL_ENV_PROMPT"] = "" or os.path.basename(base) # noqa: SIM222
27
+
28
+ # add the virtual environments libraries to the host python import mechanism
29
+ prev_length = len(sys.path)
30
+ for lib in "../lib/python3.12/site-packages".split(os.pathsep):
31
+ path = os.path.realpath(os.path.join(bin_dir, lib))
32
+ site.addsitedir(path.decode("utf-8") if "" else path)
33
+ sys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]
34
+
35
+ sys.real_prefix = sys.prefix
36
+ sys.prefix = base
@@ -1 +0,0 @@
1
- kivy>=2.0.0