deepctl-cmd-update 0.2.3__tar.gz → 0.2.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.
- {deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/PKG-INFO +1 -1
- {deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/pyproject.toml +1 -1
- {deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/src/deepctl_cmd_update/installation.py +11 -4
- {deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/src/deepctl_cmd_update.egg-info/PKG-INFO +1 -1
- {deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/README.md +0 -0
- {deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/setup.cfg +0 -0
- {deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/src/deepctl_cmd_update/__init__.py +0 -0
- {deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/src/deepctl_cmd_update/command.py +0 -0
- {deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/src/deepctl_cmd_update/models.py +0 -0
- {deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/src/deepctl_cmd_update/plugin_update_check.py +0 -0
- {deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/src/deepctl_cmd_update/startup_check.py +0 -0
- {deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/src/deepctl_cmd_update/version_check.py +0 -0
- {deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/src/deepctl_cmd_update.egg-info/SOURCES.txt +0 -0
- {deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/src/deepctl_cmd_update.egg-info/dependency_links.txt +0 -0
- {deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/src/deepctl_cmd_update.egg-info/entry_points.txt +0 -0
- {deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/src/deepctl_cmd_update.egg-info/requires.txt +0 -0
- {deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/src/deepctl_cmd_update.egg-info/top_level.txt +0 -0
{deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/src/deepctl_cmd_update/installation.py
RENAMED
|
@@ -336,17 +336,24 @@ class InstallationDetector:
|
|
|
336
336
|
Returns:
|
|
337
337
|
True if uv tool installation
|
|
338
338
|
"""
|
|
339
|
-
|
|
340
|
-
|
|
339
|
+
# Use sys.prefix (the venv root), not sys.executable — uv's Python
|
|
340
|
+
# interpreter is a symlink to a shared binary pool outside tools/,
|
|
341
|
+
# so resolve() on the executable breaks the path check.
|
|
342
|
+
prefix_str = str(Path(sys.prefix))
|
|
343
|
+
exe_str = str(Path(sys.executable))
|
|
341
344
|
|
|
342
345
|
# Check custom UV_TOOL_DIR env var first
|
|
343
346
|
uv_tool_dir = os.environ.get("UV_TOOL_DIR")
|
|
344
|
-
if uv_tool_dir and
|
|
347
|
+
if uv_tool_dir and (
|
|
348
|
+
prefix_str.startswith(uv_tool_dir) or exe_str.startswith(uv_tool_dir)
|
|
349
|
+
):
|
|
345
350
|
return True
|
|
346
351
|
|
|
347
352
|
# Default uv tool location
|
|
348
353
|
default_uv_tools = str(Path.home() / ".local" / "share" / "uv" / "tools")
|
|
349
|
-
return
|
|
354
|
+
return prefix_str.startswith(default_uv_tools) or exe_str.startswith(
|
|
355
|
+
default_uv_tools
|
|
356
|
+
)
|
|
350
357
|
|
|
351
358
|
def _detect_oneshot_execution(self) -> InstallMethod | None:
|
|
352
359
|
"""Detect ephemeral one-shot execution (uvx / pipx run).
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/src/deepctl_cmd_update/plugin_update_check.py
RENAMED
|
File without changes
|
{deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/src/deepctl_cmd_update/startup_check.py
RENAMED
|
File without changes
|
{deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/src/deepctl_cmd_update/version_check.py
RENAMED
|
File without changes
|
{deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/src/deepctl_cmd_update.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/src/deepctl_cmd_update.egg-info/requires.txt
RENAMED
|
File without changes
|
{deepctl_cmd_update-0.2.3 → deepctl_cmd_update-0.2.4}/src/deepctl_cmd_update.egg-info/top_level.txt
RENAMED
|
File without changes
|