Skip to content

fix: add pyenv + workspace tools to PATH in .bashrc#93

Merged
itscooleric merged 2 commits intodevfrom
feat/pyenv-path-sdale-clidetext
Mar 22, 2026
Merged

fix: add pyenv + workspace tools to PATH in .bashrc#93
itscooleric merged 2 commits intodevfrom
feat/pyenv-path-sdale-clidetext

Conversation

@itscooleric
Copy link
Copy Markdown
Owner

Summary

  • Add /opt/pyenv/bin to PATH in .bashrc so pip, pytest, ruff are available in interactive shells (Docker ENV PATH doesn't survive gosutmuxbash)
  • Add PYTHONPATH entries for /workspace/clide-sdale and /workspace/clidetext so sdale and clidetext work without pip install

Why

The pyenv venv with pip/pytest/ruff is already installed in the image (Dockerfile line 63-71) but the PATH wasn't making it to interactive shells. Agents had to discover the PYTHONPATH= workaround or fail silently.

Test plan

  • Verified pip, sdale, clidetext all work after sourcing the updated .bashrc
  • Rebuild clide image and confirm pip --version works in a fresh tmux session
  • Confirm python3 -m sdale list works without any setup in a fresh session

Closes #92

🤖 Generated with Claude Code

itscooleric and others added 2 commits March 21, 2026 20:51
Docker ENV PATH isn't reliably propagated through gosu → tmux → bash,
so pip/pytest/ruff from /opt/pyenv were unavailable in interactive
shells despite being installed in the image.

Also adds PYTHONPATH entries for workspace Python tools (sdale,
clidetext) so they work without pip install — they live on the
bind-mounted workspace and stay current across container rebuilds.

After this change, interactive shells get:
- `pip`, `pytest`, `ruff` from /opt/pyenv/bin
- `python3 -m sdale` from /workspace/clide-sdale
- `python3 -m clidetext` from /workspace/clidetext

Closes #92

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Links to public companion projects: clidesdale (agent VPS access)
and clidestable (VPS-side dashboard).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@itscooleric itscooleric merged commit 63885a0 into dev Mar 22, 2026
4 checks passed
@itscooleric itscooleric deleted the feat/pyenv-path-sdale-clidetext branch March 22, 2026 01:52
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