Skip to content

feat: pip install sdale into pyenv at startup (#92)#99

Merged
itscooleric merged 1 commit intodevfrom
feat/pip-install-sdale
Mar 26, 2026
Merged

feat: pip install sdale into pyenv at startup (#92)#99
itscooleric merged 1 commit intodevfrom
feat/pip-install-sdale

Conversation

@itscooleric
Copy link
Copy Markdown
Owner

Summary

  • Editable-installs /workspace/clide-sdale into the /opt/pyenv venv during container startup (claude-entrypoint.sh)
  • sdale becomes a proper CLI command on PATH — no more PYTHONPATH=/workspace/clide-sdale python3 -m sdale workaround
  • Idempotent, zero-dep, <1s overhead per startup. Falls back to existing activate.sh PYTHONPATH mechanism if pip install fails

Closes #92

Test plan

  • Rebuild container: docker compose build
  • Start web terminal: make web → verify sdale --help works without any PYTHONPATH
  • Start CLI: make cli → verify sdale --help works
  • Verify which sdale points to /opt/pyenv/bin/sdale
  • Verify startup logs show clide: installed sdale into pyenv
  • Test with /workspace/clide-sdale absent — should skip silently, activate.sh fallback still works

🤖 Generated with Claude Code

Editable-installs /workspace/clide-sdale into /opt/pyenv during
container startup so `sdale` works as a proper CLI command without
PYTHONPATH hacks. Zero-dep, <1s, idempotent. Falls back gracefully
to the existing activate.sh mechanism if pip install fails.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@itscooleric itscooleric marked this pull request as ready for review March 26, 2026 05:13
@itscooleric itscooleric merged commit 6d45a46 into dev Mar 26, 2026
4 checks passed
@itscooleric itscooleric deleted the feat/pip-install-sdale branch March 26, 2026 05:14
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