vmux-cli 0.5.3__tar.gz → 0.5.4__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.
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/PKG-INFO +1 -1
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/pyproject.toml +1 -1
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/uv.lock +1 -1
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/vmux/packager.py +12 -5
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/.gitignore +0 -0
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/README.md +0 -0
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/tests/__init__.py +0 -0
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/tests/benchmark_bundle_delivery.py +0 -0
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/tests/benchmark_latency.py +0 -0
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/tests/test_config.py +0 -0
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/tests/test_packager.py +0 -0
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/vmux/__init__.py +0 -0
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/vmux/auth.py +0 -0
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/vmux/cli.py +0 -0
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/vmux/client.py +0 -0
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/vmux/config.py +0 -0
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/vmux/core.py +0 -0
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/vmux/deps.py +0 -0
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/vmux/runner.py +0 -0
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/vmux/terminal.py +0 -0
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/vmux/types.py +0 -0
- {vmux_cli-0.5.3 → vmux_cli-0.5.4}/vmux/ui.py +0 -0
|
@@ -80,11 +80,18 @@ def package(directory: Path, command: str) -> Bundle:
|
|
|
80
80
|
script_path = extract_script_from_command(command)
|
|
81
81
|
if script_path:
|
|
82
82
|
abs_script = directory / script_path if not script_path.is_absolute() else script_path
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
83
|
+
# Validate script exists before bundling
|
|
84
|
+
if not abs_script.exists():
|
|
85
|
+
raise FileNotFoundError(
|
|
86
|
+
f"Script not found: {script_path}\n"
|
|
87
|
+
f" Looked in: {directory}\n"
|
|
88
|
+
f" Tip: Run vmux from the directory containing your script,\n"
|
|
89
|
+
f" or use the full path: python path/to/{script_path.name}"
|
|
90
|
+
)
|
|
91
|
+
deps = detect_script_deps(abs_script)
|
|
92
|
+
editables = deps.editables
|
|
93
|
+
if editables:
|
|
94
|
+
ui.info(f"Detected editables: {[e.name for e in editables]}")
|
|
88
95
|
|
|
89
96
|
# Create zip
|
|
90
97
|
buffer = io.BytesIO()
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|