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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vmux-cli
3
- Version: 0.5.3
3
+ Version: 0.5.4
4
4
  Summary: Run anything in the cloud. Replace uv run with vmux run.
5
5
  Project-URL: Homepage, https://vmux.sdan.io
6
6
  Project-URL: Documentation, https://vmux.sdan.io
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "vmux-cli"
7
- version = "0.5.3"
7
+ version = "0.5.4"
8
8
  description = "Run anything in the cloud. Replace uv run with vmux run."
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -827,7 +827,7 @@ wheels = [
827
827
 
828
828
  [[package]]
829
829
  name = "vmux-cli"
830
- version = "0.4.1"
830
+ version = "0.5.3"
831
831
  source = { editable = "." }
832
832
  dependencies = [
833
833
  { name = "click" },
@@ -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
- if abs_script.exists():
84
- deps = detect_script_deps(abs_script)
85
- editables = deps.editables
86
- if editables:
87
- ui.info(f"Detected editables: {[e.name for e in editables]}")
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