vssh 3.3.8__tar.gz → 3.3.10__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.
- {vssh-3.3.8/vssh.egg-info → vssh-3.3.10}/PKG-INFO +1 -1
- {vssh-3.3.8 → vssh-3.3.10}/pyproject.toml +1 -1
- {vssh-3.3.8 → vssh-3.3.10/vssh.egg-info}/PKG-INFO +1 -1
- {vssh-3.3.8 → vssh-3.3.10}/vssh.py +13 -1
- {vssh-3.3.8 → vssh-3.3.10}/LICENSE +0 -0
- {vssh-3.3.8 → vssh-3.3.10}/README.md +0 -0
- {vssh-3.3.8 → vssh-3.3.10}/setup.cfg +0 -0
- {vssh-3.3.8 → vssh-3.3.10}/vssh.egg-info/SOURCES.txt +0 -0
- {vssh-3.3.8 → vssh-3.3.10}/vssh.egg-info/dependency_links.txt +0 -0
- {vssh-3.3.8 → vssh-3.3.10}/vssh.egg-info/entry_points.txt +0 -0
- {vssh-3.3.8 → vssh-3.3.10}/vssh.egg-info/top_level.txt +0 -0
- {vssh-3.3.8 → vssh-3.3.10}/vssh_mcp_server.py +0 -0
- {vssh-3.3.8 → vssh-3.3.10}/vssh_p2p.py +0 -0
|
@@ -12,6 +12,7 @@ from pathlib import Path
|
|
|
12
12
|
from concurrent.futures import ThreadPoolExecutor, as_completed
|
|
13
13
|
from typing import Tuple, Optional
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
# ========== Standalone Config (no mpop dependency) ==========
|
|
16
17
|
VSSH_DIR_CONF = Path.home() / '.vssh'
|
|
17
18
|
|
|
@@ -3459,6 +3460,16 @@ def _cmd_install(args):
|
|
|
3459
3460
|
'</plist>',
|
|
3460
3461
|
]
|
|
3461
3462
|
plist = '\n'.join(plist_lines)
|
|
3463
|
+
# Also fix pip entry point if it exists (may use wrong Python)
|
|
3464
|
+
for ep in [_os.path.join(_os.path.dirname(python_exe), 'vssh'),
|
|
3465
|
+
'/opt/homebrew/bin/vssh', '/usr/local/bin/vssh']:
|
|
3466
|
+
if ep != wrapper and _os.path.exists(ep):
|
|
3467
|
+
try:
|
|
3468
|
+
_sh.copy2(wrapper, ep)
|
|
3469
|
+
_os.chmod(ep, 0o755)
|
|
3470
|
+
print(f" fixed : {ep}")
|
|
3471
|
+
except Exception:
|
|
3472
|
+
pass
|
|
3462
3473
|
_sp.run(['launchctl', 'unload', plist_path], capture_output=True)
|
|
3463
3474
|
with open(plist_path, 'w') as _f:
|
|
3464
3475
|
_f.write(plist)
|
|
@@ -3485,6 +3496,7 @@ def _get_vssh_version():
|
|
|
3485
3496
|
return '?'
|
|
3486
3497
|
|
|
3487
3498
|
|
|
3499
|
+
|
|
3488
3500
|
def main():
|
|
3489
3501
|
args = sys.argv[1:]
|
|
3490
3502
|
# Handle --version and --help flags
|
|
@@ -3493,7 +3505,7 @@ def main():
|
|
|
3493
3505
|
from importlib.metadata import version as _v
|
|
3494
3506
|
print(f"vssh v{_v('vssh')}")
|
|
3495
3507
|
except Exception:
|
|
3496
|
-
print("vssh
|
|
3508
|
+
print(f"vssh v{_get_vssh_version()}")
|
|
3497
3509
|
return
|
|
3498
3510
|
if not args:
|
|
3499
3511
|
print('''vssh v3 - Distributed command & file transport daemon for server meshes
|
|
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
|