vappman 0.9.3__tar.gz → 0.9.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.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.1
2
2
  Name: vappman
3
- Version: 0.9.3
3
+ Version: 0.9.5
4
4
  Summary: A visual wrapper for appman
5
5
  Keywords: app,installer,manager,appimages
6
6
  Author-email: Joe Defen <joedef@google.com>
@@ -9,9 +9,7 @@ Description-Content-Type: text/markdown
9
9
  Classifier: Programming Language :: Python :: 3
10
10
  Classifier: License :: OSI Approved :: MIT License
11
11
  Classifier: Operating System :: POSIX :: Linux
12
- License-File: LICENSE
13
12
  Requires-Dist: importlib-metadata; python_version<"3.8"
14
- Requires-Dist: psutil>=5.9
15
13
  Project-URL: Bug Tracker, https://github.com/joedefen/vappman/issues
16
14
  Project-URL: Homepage, https://github.com/joedefen/vappman
17
15
 
@@ -67,6 +65,7 @@ But it does NOT cover:
67
65
  * Each time the filter is changed, the position jumps to the top of the listing.
68
66
  * Use `i` to install apps, and `r` to remove apps. When you install or remove an app, `appman` drops out of `curses` mode, runs the `appman` command so you can see the result, and then prompts your to hit ENTER to return to `vappman.
69
67
  * Use `t` to "test" an installed app. This launches a terminal emulator and then the app so you can see issues. This is not for daily use obviously, but for after install or when having unknown issues and you wish to start the investigation.
68
+ * You must have one of these terminial emulators (and they are searched for in order): konsole, gnome-terminal, xfce4-terminal, lxterminal, alacritty, guake, tilix, sakura, terminator, or kitty.
70
69
 
71
70
  ## Example Screenshot (of v0.9 ... current release will vary slightly)
72
71
  ![vappman-with-filter](https://github.com/joedefen/vappman/blob/main/images/vappman-with-filter.png?raw=true).
@@ -50,6 +50,7 @@ But it does NOT cover:
50
50
  * Each time the filter is changed, the position jumps to the top of the listing.
51
51
  * Use `i` to install apps, and `r` to remove apps. When you install or remove an app, `appman` drops out of `curses` mode, runs the `appman` command so you can see the result, and then prompts your to hit ENTER to return to `vappman.
52
52
  * Use `t` to "test" an installed app. This launches a terminal emulator and then the app so you can see issues. This is not for daily use obviously, but for after install or when having unknown issues and you wish to start the investigation.
53
+ * You must have one of these terminial emulators (and they are searched for in order): konsole, gnome-terminal, xfce4-terminal, lxterminal, alacritty, guake, tilix, sakura, terminator, or kitty.
53
54
 
54
55
  ## Example Screenshot (of v0.9 ... current release will vary slightly)
55
56
  ![vappman-with-filter](https://github.com/joedefen/vappman/blob/main/images/vappman-with-filter.png?raw=true).
@@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
4
4
 
5
5
  [project]
6
6
  name = "vappman"
7
- version = "0.9.3"
7
+ version = "0.9.5"
8
8
  description = "A visual wrapper for appman"
9
9
  authors = [
10
10
  { name = "Joe Defen", email = "joedef@google.com" }
@@ -20,7 +20,6 @@ classifiers = [
20
20
  ]
21
21
  dependencies = [
22
22
  'importlib-metadata; python_version<"3.8"',
23
- 'psutil>=5.9',
24
23
  ]
25
24
 
26
25
  [project.urls]
@@ -28,7 +27,4 @@ dependencies = [
28
27
  "Bug Tracker" = "https://github.com/joedefen/vappman/issues"
29
28
 
30
29
  [project.scripts]
31
- vappman = "vappman.main:main"
32
-
33
- [tool.flit.module]
34
- name = "vappman"
30
+ vappman = "vappman.main:main"
@@ -285,8 +285,8 @@ class Vappman:
285
285
  def run_appman(self, cmd):
286
286
  """ Run a 'appman' command """
287
287
  Window.stop_curses()
288
- os.system(f'clear; stty sane; {cmd};'
289
- + r' /bin/echo -e "\n\n===== Press ENTER for menu ====> \c"; read FOO')
288
+ os.system(f'clear; stty sane; /bin/echo + {cmd}; {cmd};'
289
+ + r' /bin/echo -e "\n\n===== Press ENTER to return to vappman ====> \c"; read FOO')
290
290
  self.installs = self.get_installed()
291
291
  Window._start_curses()
292
292
 
@@ -309,16 +309,14 @@ class Vappman:
309
309
  [ 'gnome-terminal', '--', 'bash', '-c', '"{command}"; exec bash' ],
310
310
  [ 'xfce4-terminal', '--hold', '--command="{command}"' ],
311
311
  [ 'lxterminal', '-e', """bash -c '"{command}"; echo; read -p "Press Enter to close..."'"""],
312
- # [ terminator', ],
313
- # [ alacritty', ],
314
- # [ termite', ],
315
- # [ urxvt', ],
316
- # [ sakura', ],
317
- # [ tilix', ],
318
- # [ kitty', ],
319
- # [ hyper', ],
320
- # [ guake', ],
321
- # [ yakuake', ],
312
+ [ 'alacritty', '--hold', '-e', 'sh', '-c', '"{command}"' ],
313
+ [ 'guake', '--new-tab', '--execute-command="sh -c \'{command} ; exec $SHELL\'"' ],
314
+ [ 'tilix', '-e', 'sh -c "{command} ; exec $SHELL"' ],
315
+ [ 'sakura', '-x', 'sh -c "{command} ; bash"' ],
316
+ [ 'terminator', '-e', 'bash -c " {command} ; bash "' ],
317
+ [ 'kitty', '--hold', '/bin/sh', '-c', '"{command}"' ],
318
+ # [ hyper', ], # cannot be supported
319
+ # [ yakuake', ], # cannot be supported
322
320
  ]
323
321
  for maybe in maybes:
324
322
  if shutil.which(maybe[0]):
vappman-0.9.3/deploy DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- script_dir=$(dirname "$0")
3
- set -ex
4
- cd ${script_dir}
5
- rm -rf ./dist
6
- python3 -m build
7
- pip install -e . --break-system-packages
@@ -1,38 +0,0 @@
1
- # Vappman HOWTO Develop
2
-
3
- A visual wrapper for appman.
4
-
5
- ---
6
-
7
- ## How to Develop
8
-
9
- ### Prep Work
10
- Ensure necessary modules are up-to-date:
11
- - `sudo apt install python3-pip`
12
- - `sudo apt install python3-pip-whl`
13
- - `pip install build --break-system-packages`
14
- - `sudo apt install twine`
15
-
16
- Optionally, use a virtual environment:
17
- - `python3 -m venv venv`
18
- - `source venv/bin/activate` (to activate)
19
- - `deactivate` (to deactivate)
20
-
21
- ### Running the Project
22
- - To run with local changes: `rm -rf ./dist && python3 -m build && pip install -e . --break-system-packages`
23
- - Or simply: `python3 -m vappman.main`
24
- - Or from the source directory: `cd src/vappman && ./main.py`
25
-
26
- ---
27
-
28
- ## How to Publish
29
-
30
- ### Public Build and Deploy
31
- - **BUMP** the version in `pyproject.toml`.
32
- flit build && flit publish # Will prompt for your PyPI token if not cached
33
- - Install or upgrade: `pipx upgrade vappman` (for Python 3.11+) or `sudo python3 -m pip install vappman` (for Python 3.10 and below).
34
-
35
- ### Test Build and Deploy
36
- - **BUMP** the version in `pyproject.toml`.
37
- flit build && flit publish --repository testpypi
38
- + Install from TestPyPI: `sudo python3 -m pip install --upgrade --index-url https://test.pypi.org/simple/ --no-deps --break-system-packages vappman`
File without changes
File without changes
File without changes