Skip to content

python: add uv virtualenv bin directory to PATH - #134

Merged
wpjunior merged 1 commit into
masterfrom
fix/uv-os-path
Jun 17, 2026
Merged

python: add uv virtualenv bin directory to PATH#134
wpjunior merged 1 commit into
masterfrom
fix/uv-os-path

Conversation

@wpjunior

Copy link
Copy Markdown
Member

After uv sync, installed packages and console scripts live inside the virtualenv and are not accessible unless the venv bin dir is on PATH. This prepends the venv bin directory to both the user (~/.profile) and system (/etc/profile) profiles so that runtime processes can locate uv-installed executables. Respects UV_PROJECT_ENVIRONMENT when set.

After `uv sync`, installed packages and console scripts live inside the
virtualenv and are not accessible unless the venv bin dir is on PATH.
This prepends the venv bin directory to both the user (~/.profile) and
system (/etc/profile) profiles so that runtime processes can locate
uv-installed executables. Respects UV_PROJECT_ENVIRONMENT when set.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@wpjunior
wpjunior merged commit 06b9e6f into master Jun 17, 2026
77 checks passed
@wpjunior
wpjunior deleted the fix/uv-os-path branch June 17, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant