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