vssh 3.3.9__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.9/vssh.egg-info → vssh-3.3.10}/PKG-INFO +1 -1
- {vssh-3.3.9 → vssh-3.3.10}/pyproject.toml +1 -1
- {vssh-3.3.9 → vssh-3.3.10/vssh.egg-info}/PKG-INFO +1 -1
- {vssh-3.3.9 → vssh-3.3.10}/vssh.py +6 -3
- {vssh-3.3.9 → vssh-3.3.10}/LICENSE +0 -0
- {vssh-3.3.9 → vssh-3.3.10}/README.md +0 -0
- {vssh-3.3.9 → vssh-3.3.10}/setup.cfg +0 -0
- {vssh-3.3.9 → vssh-3.3.10}/vssh.egg-info/SOURCES.txt +0 -0
- {vssh-3.3.9 → vssh-3.3.10}/vssh.egg-info/dependency_links.txt +0 -0
- {vssh-3.3.9 → vssh-3.3.10}/vssh.egg-info/entry_points.txt +0 -0
- {vssh-3.3.9 → vssh-3.3.10}/vssh.egg-info/top_level.txt +0 -0
- {vssh-3.3.9 → vssh-3.3.10}/vssh_mcp_server.py +0 -0
- {vssh-3.3.9 → vssh-3.3.10}/vssh_p2p.py +0 -0
|
@@ -12,7 +12,6 @@ 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
16
|
# ========== Standalone Config (no mpop dependency) ==========
|
|
18
17
|
VSSH_DIR_CONF = Path.home() / '.vssh'
|
|
@@ -3490,7 +3489,11 @@ def _cmd_install(args):
|
|
|
3490
3489
|
|
|
3491
3490
|
|
|
3492
3491
|
def _get_vssh_version():
|
|
3493
|
-
|
|
3492
|
+
try:
|
|
3493
|
+
from importlib.metadata import version as _v
|
|
3494
|
+
return _v('vssh')
|
|
3495
|
+
except Exception:
|
|
3496
|
+
return '?'
|
|
3494
3497
|
|
|
3495
3498
|
|
|
3496
3499
|
|
|
@@ -3502,7 +3505,7 @@ def main():
|
|
|
3502
3505
|
from importlib.metadata import version as _v
|
|
3503
3506
|
print(f"vssh v{_v('vssh')}")
|
|
3504
3507
|
except Exception:
|
|
3505
|
-
print(f"vssh v{
|
|
3508
|
+
print(f"vssh v{_get_vssh_version()}")
|
|
3506
3509
|
return
|
|
3507
3510
|
if not args:
|
|
3508
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
|