Files
zsh/apps.d/uv.zsh
2026-04-11 12:59:03 +03:00

20 lines
755 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# shellcheck shell=bash
# vim: ft=sh
! command -v uv >/dev/null && return
# Использовать только системный Python из Debian
# export UV_PYTHON_PREFERENCE=only-system
# Создавать venv с доступом к установленным deb-пакетам (numpy, opencv и т.д.)
# export UV_VENV_SYSTEM_SITE_PACKAGES=true
# Не переустанавливать пакеты, если они уже есть (в т.ч. в системе)
# export UV_REINSTALL_STRATEGY=never
# Не проверять обновления Python в интернете
# export UV_OFFLINE=true
# Не качать Python из сети, использовать только системный
# export UV_PYTHON_DOWNLOADS=never