vappman 0.9.1__tar.gz → 0.9.2__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.
- {vappman-0.9.1/src/vappman.egg-info → vappman-0.9.2}/PKG-INFO +1 -1
- {vappman-0.9.1 → vappman-0.9.2}/pyproject.toml +6 -7
- {vappman-0.9.1 → vappman-0.9.2}/src/vappman/main.py +13 -1
- {vappman-0.9.1 → vappman-0.9.2/src/vappman.egg-info}/PKG-INFO +1 -1
- {vappman-0.9.1 → vappman-0.9.2}/LICENSE +0 -0
- {vappman-0.9.1 → vappman-0.9.2}/README.md +0 -0
- {vappman-0.9.1 → vappman-0.9.2}/setup.cfg +0 -0
- {vappman-0.9.1 → vappman-0.9.2}/src/vappman/PowerWindow.py +0 -0
- {vappman-0.9.1 → vappman-0.9.2}/src/vappman/__init__.py +0 -0
- {vappman-0.9.1 → vappman-0.9.2}/src/vappman.egg-info/SOURCES.txt +0 -0
- {vappman-0.9.1 → vappman-0.9.2}/src/vappman.egg-info/dependency_links.txt +0 -0
- {vappman-0.9.1 → vappman-0.9.2}/src/vappman.egg-info/entry_points.txt +0 -0
- {vappman-0.9.1 → vappman-0.9.2}/src/vappman.egg-info/requires.txt +0 -0
- {vappman-0.9.1 → vappman-0.9.2}/src/vappman.egg-info/top_level.txt +0 -0
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
# - deactivate # to deactivate
|
|
21
21
|
#
|
|
22
22
|
# rm -rf ./dist && python3 -m build && pip install -e . --break-system-packages
|
|
23
|
-
# pip-tray
|
|
24
23
|
#
|
|
25
24
|
# -OR-
|
|
26
25
|
# python3 -m vappman.main
|
|
@@ -37,17 +36,17 @@
|
|
|
37
36
|
# rm -rf dist; python3 -m build; ls dist/.
|
|
38
37
|
# python3 -m twine upload dist/* # keyring --disable # may be required
|
|
39
38
|
# ## Enter __token__ and the saved TOKEN (in bitwarden)
|
|
40
|
-
# pipx upgrade
|
|
41
|
-
# --OR-- sudo python3 -m pip install
|
|
42
|
-
# ## VISIT https://pypi.org/project/
|
|
39
|
+
# pipx upgrade vappman || pipx install vappman # >= python3.11
|
|
40
|
+
# --OR-- sudo python3 -m pip install vappman # <= python3.10
|
|
41
|
+
# ## VISIT https://pypi.org/project/vappman and delete old versions
|
|
43
42
|
#
|
|
44
43
|
# TEST Build and test (from project directory):
|
|
45
44
|
# ## BUMP the version (below in [project])
|
|
46
45
|
# rm -r dist; python3 -m build
|
|
47
46
|
# python3 -m twine upload --repository testpypi dist/* # keyring --disable # may be required
|
|
48
47
|
# ## Enter __token__ and the saved TOKEN (in bitwarden)
|
|
49
|
-
# sudo python3 -m pip install --upgrade --index-url https://test.pypi.org/simple/ --no-deps --break-system-packages
|
|
50
|
-
# ## VISIT https://test.pypi.org/project/
|
|
48
|
+
# sudo python3 -m pip install --upgrade --index-url https://test.pypi.org/simple/ --no-deps --break-system-packages vappman
|
|
49
|
+
# ## VISIT https://test.pypi.org/project/vappman and delete old versions
|
|
51
50
|
|
|
52
51
|
[build-system]
|
|
53
52
|
requires = ["setuptools>=42", "wheel"]
|
|
@@ -55,7 +54,7 @@ build-backend = "setuptools.build_meta"
|
|
|
55
54
|
|
|
56
55
|
[project]
|
|
57
56
|
name = "vappman"
|
|
58
|
-
version = "0.9.
|
|
57
|
+
version = "0.9.2"
|
|
59
58
|
description = "A visual wrapper for appman"
|
|
60
59
|
authors = [
|
|
61
60
|
{ name = "Joe Defen", email = "joedef@google.com" }
|
|
@@ -91,12 +91,24 @@ class Vappman:
|
|
|
91
91
|
lines = result.stdout.splitlines()
|
|
92
92
|
ansi_escape_pattern = re.compile(r'\x1B\[[0-?]*[ -/]*[@-~]')
|
|
93
93
|
rv = {}
|
|
94
|
+
prev_wd1 = None
|
|
94
95
|
for line in lines:
|
|
95
|
-
line = ansi_escape_pattern.sub('', line)
|
|
96
|
+
line = ansi_escape_pattern.sub('', line) # get clean text
|
|
96
97
|
if re.match(start, line):
|
|
98
|
+
line = line.strip()
|
|
97
99
|
wd1 = self.get_word1(line)
|
|
98
100
|
if wd1:
|
|
99
101
|
rv[wd1] = line
|
|
102
|
+
prev_wd1 = wd1
|
|
103
|
+
elif prev_wd1 and line.startswith(' '):
|
|
104
|
+
line = line.strip()
|
|
105
|
+
if line:
|
|
106
|
+
rv[prev_wd1] += ' ' + line
|
|
107
|
+
else:
|
|
108
|
+
prev_wd1 = None
|
|
109
|
+
else:
|
|
110
|
+
prev_wd1 = None
|
|
111
|
+
|
|
100
112
|
return rv
|
|
101
113
|
|
|
102
114
|
@staticmethod
|
|
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
|